OBJECTIVES: I. Determine the dose-limiting toxicity and maximum tolerated dose of flavopiridol in patients with refractory solid tumors or lymphoma. 2. Determine the pharmacokinetics of this drug in these patients.