I've built a Job/Worker component that I'm happy to share when it's
done.

It includes a Job table to schedule Jobs (URIs) in a Job queue, and a
Worker component that starts up to n background processes in a shell
to run Jobs in a Job table. By using a shell, I'm not limited to any
Apache/PHP max execution time. I can count Workers in linux using 'ps
ax', but I cannot figure out how to do the same in Win32. Without it,
I'm forced to keep track in a db table, and it's not been very
accurate.

Also, even with a MAX_CONCURRENT_WORKER limit, I still can overwhelm
my server or Apache2.

Q1: How do count the number of background Worker processes in Win32
Q2: What should I check for in both linux and Win32 to prevent this?

many thanks.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to