Results 1 to 8 of 8
Hybrid View
-
21st Dec 2010, 06:18 PM #1OPMemberWebsite's:
maxneeds.infosome batch help ?
Hi !
If you aren't programming batch 2 years you totally forget anything ,believe me i am in this situation .
I was wondering if you can help me making srcript for killing all processes called php-cgi.exe (because they grow ) except one of them. I hope you get my mind.
:loop
if php-cgi.exe > 1 process (
TASKKILL /F /IM "php-cgi.exe")
goto loop
the italics font must be translated into batch..Porsche_maniak Reviewed by Porsche_maniak on . some batch help ? Hi ! If you aren't programming batch 2 years you totally forget anything :( ,believe me i am in this situation :D . I was wondering if you can help me making srcript for killing all processes called php-cgi.exe (because they grow :|) except one of them. I hope you get my mind. :loop if php-cgi.exe > 1 process ( TASKKILL /F /IM "php-cgi.exe") goto loop the italics font must be translated into batch.. Rating: 5
-
21st Dec 2010, 10:23 PM #2MemberWebsite's:
Elite.SO Defendos.com Motionite.comCode:TASKKILL /F /IM "php-cgi.exe"
You can also use PID.
Code:TASKKILL /F /PID pidhere
-
22nd Dec 2010, 08:56 AM #3OPMemberWebsite's:
maxneeds.infol0calh0st - I think paint will explain it better
I want to kill all php-cgi.exe except one of them (is it possible the newest?)...
-
22nd Dec 2010, 05:39 PM #4OPMemberWebsite's:
maxneeds.infonobody can help ?
Windows VBS script then ?
-
22nd Dec 2010, 05:44 PM #5MemberWebsite's:
Tastro.org HDTVXviDLOL.com EpisodeSeasons.com FileBorg.org W-47.comwhy don't you just set the max processes to 1 in fastcgi in lighttpd or whatever u use...
LE with your pr2 site? <a href="http://tastro.org/">Tastro.org</a> or link exchance with our category page: <a href="http://tastro.org/i/hdtv">HDTV</a> | <a href="http://tastro.org/i/dvdrip">DVDRip</a> | <a href="http://tastro.org/i/r5">R5</a> | <a href="http://tastro.org/i/bdrip">BDRip</a> | <a href="http://tastro.org/i/brrip">BRRip</a>
-
22nd Dec 2010, 05:51 PM #6
WTF? php-cgi spawning childs in windows. I trough it was disabled in windows as I never managed to make PHP_FCGI_CHILDREN work.
And by the way. Each child can only process one request simultaneously.
Can you please tell us more details about your server configuration?Trusted: Dom, l0calh0st, 0ccul7, robert420
Find all threads started by NewEraCracker
-
22nd Dec 2010, 05:56 PM #7OPMemberWebsite's:
maxneeds.info@sloddl i don't think i can adjust that. I have only fastcgi processes timeout option.
-
22nd Dec 2010, 09:42 PM #8MemberWebsite's:
Elite.SO Defendos.com Motionite.comI'm sure the application won't work properly if you kill it's processes anyway you can kill all child processes using their PID's
Code:TASKKILL /F /PID pidhere1 TASKKILL /F /PID pidhere2 TASKKILL /F /PID pidhere3
Sponsored Links
Thread Information
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)
Similar Threads
-
need help with some batch script
By techdaemon in forum Technical Help Desk SupportReplies: 0Last Post: 29th Mar 2011, 02:58 AM -
Batch WMV to FLV conversion
By AllHosting in forum Server ManagementReplies: 2Last Post: 25th Feb 2011, 07:53 AM -
Batch script help
By SiNNER in forum Technical Help Desk SupportReplies: 6Last Post: 19th Jan 2011, 01:58 AM -
[BATCH] Game!
By l0calh0st in forum Web Development AreaReplies: 2Last Post: 18th Sep 2010, 04:58 PM -
Any batch experts?
By Daniel in forum General DiscussionReplies: 0Last Post: 12th Mar 2010, 05:27 PM
themaPoster - post to forums and...
Version 5.23 released. Open older version (or...