I've just made the move from a shared server to a virtual private one.
Everytihng's been super smooth and decided to finally use what little I know about shell access to reindex my Search Index .. was going great .. but after 4-5 hours it crashed with the following error:
Processed post: 241486 Processed post: 241487 Processed post: 241488 Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 35 bytes) in /var/www/****/******.com/httpdocs/vBforums/includes/functions.php on line 157 Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 40 bytes) in /var/www/****/******.com/httpdocs/vBforums/includes/class_core.php on line 2968 Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 16 bytes) in /var/www/****/******.com/httpdocs/vBforums/includes/class_core.php on line 822
1- Can I resume doing the search index from post 241489 using either: searchshell.php again or the admincp? Or is the process corrupted and even if I fix the root of the problem I'll still have to start reindexing again from scratch?
2- How do I do fix this? I've read a few similar threads that refer to php.ini .. but that term isn't searchable here and I'm having a hard time actually getting information on it because I can't get informative search results anywhere. Could someone please explain to me how to raise my PHP memory levels for shellaccess.php or point me to a specific page with the exact instructions.
Is it true all I really have to do is add the following code to config.php? Will this trick work with searchshell?
ini_set('memory_limit', 32 * 1024 * 1024);
Thanks tons!

=========== Edited addition ===========
3- NOTE .. I checked my "View PHP info" in the admincp and saw that my current memory_limit actually IS 32M already ... the value that is at 8M is a directive called max_post_size .. should I try the following instead:
ini_set('max_post_size', 32 * 1024 * 1024);
Thanks

Comment