sleep() silently hogs cpu
i'm controlling apache linux within vmware.
one php pages i'm requesting does sleep(), i i try ask second page while initial page sleep()'ing, second page hangs, sharp sleep() initial page finish.
has anyone else seen behaviour?
i know php isn't multi-threaded, nonetheless seems sum mishandling cpu.
edit: i should've mentioned cpu use doesn't spike. i meant cpu "hogging" php page seems means cpu while page sleep()'ing.
Comments
Post a Comment