LSAPI_MAX_PROCESS_TIME & file upload

#1
When i have
LSAPI_MAX_PROCESS_TIME=2
LSAPI_CHILDREN=5

then i think that it's enough to every good website even on heavy load, every page works great, children low protects my server from overload, and max_process_time protects viewers from "timeout"

but some time ago something changed, "file upload" started to count in that time, and 2s for file upload is impossible to upload anything, changing max_preocess_time to 300s or more is something that might impact website/server stability on some heavy/wrong written pages, i never know what developers will put on production server...

Does anyone know the solution to allow unlimited php fileupload time and still protect from hanging php processes?

Maybe there is some other solutions for protecting/limiting single account (process group) from "forkbombing" server eating whole memory/cpu?
 
Top