Register Members List Search Today's Posts Mark Forums Read

Thread Tools
Old 14 Jul 2017, 13: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
Old 14 Jul 2017, 17: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
Old 14 Jul 2017, 22:51
Dave Dave is offline
Join Date: Jun 2010
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.
Reply With Quote

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 12:50.

Layout Options | Width: Wide Color: