Drugs used in chemotherapy work in different ways to stop cancer cells from dividing so they stop growing or die. This phase I trial is studying the side effects and best dose of 17-N-allylamino-17-demethoxygeldanamycin in treating patients with advanced epithelial cancer, malignant lymphoma, or sarcoma