Jump to content

CLI script path recreated after rename


dark4ce

Recommended Posts

Hello,

 

I have the next case:

 

- PHP script executed as CLI contains a loop, runs until i set a signal in the db or until i use kill -9 proc_id

- i launch the script

- here we can have 2 options: either kill the script or let it run

- say we have the script somewhere in /var/www/script/cli/script.php

- rename above /var/www/script to /var/www/script1

- after doing this, even if i killed the script or not, in some cases, on some servers, the /var/www/script/cli/ path magically reapears :)

 

Any thoughts on this problem? Don't really know where to start debugging this from...tried reproducing this on my server but couldn't, the path does not reapear in any of the mentioned cases.

 

10x in advance,

Catalin.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.