Apache: set aside specific number of servers for a single "high priority" script
- by Disco
I have a bunch of scripts, but some of them are higher priority than others:
/var/www/normal-priority/script1.pl
/var/www/normal-priority/script2.pl
/var/www/normal-priority/script3.pl
and
/var/www/high-priority/script1.pl
/var/www/high-priority/script2.pl
/var/www/high-priority/script3.pl
All running under mod-perl. They reside in separate directories.
From time to time, the normal-priority scripts get very busy, and the httpd servers "swamp out" the less frequently called high priority ones.
Is it possible to set aside n httpd servers so that they only listen for the "high priority" scripts?