Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 14 Jul 2017, 12:12
chikuru chikuru is offline
 
Join Date: Nov 2011
Running searchindex.php via command line

I am rebuilding search index of a very large forum with millions of posts. The rebuild takes several hours to days. Will it stop if I close the SSH client?

php searchindex.php
Reply With Quote
  #2  
Old 14 Jul 2017, 16:56
Joshua G.'s Avatar
Joshua G. Joshua G. is offline
 
Join Date: May 2015
Location: Los Angeles
Real name: Joshua
I think that, in part, depends on server configuration, but my guess is it will stop when the window is closed. Might want to ask your server admin though.


Maybe someone more knowledgable has a more definitive answer.
Reply With Quote
  #3  
Old 14 Jul 2017, 21:51
Dave Dave is offline
 
Join Date: Jun 2010
Real name: Dave
I believe that when your SSH session ended, the process will receive a signal to end itself.
To be sure, you can just run the `top` command and see if there's a PHP process running (executed as root?) that's executing the searchindex script.
__________________
https://technidev.com - security, development, exploits, vBulletin
dave[at]technidev[dot]com

Contact me for custom vBulletin 3/4 work & server/website management.
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 03:40.

Layout Options | Width: Wide Color: