Internal Server Error: i don't understand
« on: February 18, 2014, 10:59:27 AM »
 I have two forum on the same VPS but different domain.
I install the sitemap generator. All appear ok in the configuration but when i run it after 2 o 3 minutes show me that error:

Links depth: 2
Current page: index.php?form=Search&types[]=post&userID=3674
Pages added to sitemap: 591
Pages scanned: 2162 (68,316.1 KB)
Pages left: 5213 (+ 1591 queued for the next depth level)
Time passed: 0:08:48
Time left: 0:21:14
Memory usage: 15,661.7 Kb
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator to inform of the time the error occurred and of anything you might have done that may have caused the error.

More information about this error may be available in the server error log.


Do you know what can i do?
Re: Internal Server Error: i don't understand
« Reply #1 on: February 19, 2014, 08:04:24 AM »
It's happen a very strange things.
Seem that the program create a huge file that fill the entire VPS and crash all things.
After i pay a technicians for delate this huge file e re-open the VPS... i have two forum but one don't exist anymore...
However wich is the problem? The sitempa_images or sitempa_video can create that huge (20 giga...) file?
Let me know...
Re: Internal Server Error: i don't understand
« Reply #2 on: February 19, 2014, 01:28:39 PM »
Hello,

what was the filename of that large file?
Sitemap file size is limited to 10Mb and generator automatically truncates it if it exceeds the size.
Re: Internal Server Error: i don't understand
« Reply #3 on: February 20, 2014, 08:04:03 AM »
I don't know becuase the server was crash and all file corrupted.....
Re: Internal Server Error: i don't understand
« Reply #4 on: March 03, 2014, 11:06:37 AM »
Ok i resolv the problem about space on the harddisk.
But now give me the same error, read below...
 Links depth: 2
Current page: index.php?page=UserGalleryPhoto&photoID=53
Pages added to sitemap: 556
Pages scanned: 874 (38,048.2 KB)
Pages left: 6798 (+ 1365 queued for the next depth level)
Time passed: 0:05:50
Time left: 0:45:27
Memory usage: 12,148.3 Kb
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator to inform of the time the error occurred and of anything you might have done that may have caused the error.

More information about this error may be available in the server error log.


PLEASE CAN YOU HELP ME?
Re: Internal Server Error: i don't understand
« Reply #5 on: March 03, 2014, 04:16:01 PM »
Hello,

it looks like your server configuration doesn't allow to run the script long enough to create full sitemap. Please try to increase memory_limit and max_execution_time settings in php configuration at your host (php.ini file) or contact hosting support regarding this.
 
Re: Internal Server Error: i don't understand
« Reply #6 on: March 04, 2014, 07:47:23 AM »
Memory and time limits already increased, but php.ini is one for whole site, and I would not want to overload the whole server. But we have a chance to include some strings right into the .php code with ini_set('memory_limit', '128M'); for example.

So, that's the question: to which of the executables need to add this line?

Thanx.