When my webservice complained I was crashing the server by using too much memory with phpGedView, I changed to the MySql version and things went well for a month or so, although we had to build the MySql database from my son's machine due to memory restrictions the webservice had put on the website. We were trying to update to the newest version to avoid security problems, but I began to test it out and discover memory problems on the soundex search, on individual name lists for people where there were many people with that letter, and maybe other things. While my son and I were trying to troubleshoot the problems, the database went dead. I did occasionally see this kind of error:
Fatal error: out of dynamic memory in yy_create_buffer() in /home/.argosovenheaterheater/whatever/whatever.net/folder/folder/config_gedcom.php on line 115
We don't know if the webservice killed it again or not. We have a message in to support now. But we are looking to find a better service if necessary in the United States that can handle a database 2,910 kb and growing ;-) without all the problems we are having now. We don't want to switch services only to have the same problem again. Do any of you have any experience with services that may work for us? Thanks for any help you can give.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
try http://www.digitalspace.net/webhosting/
the $36 a year ($3 a month) with 10 MB disk storage and unlimited mySQL storage works very well for me.
Give it a free try.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
My webservice is back up after receiving this from support:
I restarted your webserver, and it seems to have solved the problem.
What that means is that your php script located at the location you were
having problems with was using too much memory. We limit apache web
server instances to 40 megs. Your script used ALL of that, so we cut it
off. You'll need to check your code to see why it's gobbling up memory.
Do you have any suggestions that would make it possible for me to run my program on this server without making it smaller? Are other internet services as restrictive of memory? We were not doing THAT much when it crashed, and it seemed to be more gradual than sudden... Notices that it was out of virtual memory when we clicked on a page, etc. No one else seemed to be on the website... Is there anything that could be put in as code to reduce the memory use?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
What we had going on was that we had the old version of PHPGedview running on the website, and my son indexed and uploaded the latest version with security fixes onto the same server, different folder, using the same MySql server as the older one but with different prefixes on the tables. We were testing it out and I was trying to fix problems before linking to the main webpage. That is when I began to notice the memory errors and problems loading things. I told my son who was about to troubleshoot the problem. Whether it was a new problem at that time or coming from something done earlier, I don't know. It started as error messages, then a total crash of the pages. The webservice company told us it had used too much memory. I have changed the php timeout which my son had increased to a large amount so he could get the database built and uploaded to the website. I did not downsize it. I have now, and it seems to run better, not as slow as it was when they first restarted the server. Perhaps this was the problem. The site seems quite popular, and has been hit by many people, some at the same time... Maybe it just overloaded. I don't know.... I will let you know if I have further problems. Unfortunately, that may only be after a crash since my son says he has no way of checking on memory usage on the website! :-( I did enable statistics like you told me to do on the other thread. I will try to keep an eye on it. Thank you for your help.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
It crashed again... My son has written support, but I have not heard from him. It worked great for a couple of weeks. I had tried to reduce the time for the php to work before it times out. I still have not tried removing the option to search all names without showing surnames. I may try that if it ever goes back on line. :-(
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
When my webservice complained I was crashing the server by using too much memory with phpGedView, I changed to the MySql version and things went well for a month or so, although we had to build the MySql database from my son's machine due to memory restrictions the webservice had put on the website. We were trying to update to the newest version to avoid security problems, but I began to test it out and discover memory problems on the soundex search, on individual name lists for people where there were many people with that letter, and maybe other things. While my son and I were trying to troubleshoot the problems, the database went dead. I did occasionally see this kind of error:
Fatal error: out of dynamic memory in yy_create_buffer() in /home/.argosovenheaterheater/whatever/whatever.net/folder/folder/config_gedcom.php on line 115
We don't know if the webservice killed it again or not. We have a message in to support now. But we are looking to find a better service if necessary in the United States that can handle a database 2,910 kb and growing ;-) without all the problems we are having now. We don't want to switch services only to have the same problem again. Do any of you have any experience with services that may work for us? Thanks for any help you can give.
try
http://www.digitalspace.net/webhosting/
the $36 a year ($3 a month) with 10 MB disk storage and unlimited mySQL storage works very well for me.
Give it a free try.
How large is your gedcom? Is it a similar size to mine?
My webservice is back up after receiving this from support:
I restarted your webserver, and it seems to have solved the problem.
What that means is that your php script located at the location you were
having problems with was using too much memory. We limit apache web
server instances to 40 megs. Your script used ALL of that, so we cut it
off. You'll need to check your code to see why it's gobbling up memory.
Do you have any suggestions that would make it possible for me to run my program on this server without making it smaller? Are other internet services as restrictive of memory? We were not doing THAT much when it crashed, and it seemed to be more gradual than sudden... Notices that it was out of virtual memory when we clicked on a page, etc. No one else seemed to be on the website... Is there anything that could be put in as code to reduce the memory use?
I meant dynamic memory instead of virtual memory... sorry....
My gedcom is about the same size as yours, 6500 people, and I have never had these kinds of problems before.
Do you have something else running on there besides PGV?
As I wrote in another thread, PHP shouldn't have memory leaks.
It is also odd, that it would work just fine before but not now. You have been using PGV for quite a while. What could have changed?
--John
What we had going on was that we had the old version of PHPGedview running on the website, and my son indexed and uploaded the latest version with security fixes onto the same server, different folder, using the same MySql server as the older one but with different prefixes on the tables. We were testing it out and I was trying to fix problems before linking to the main webpage. That is when I began to notice the memory errors and problems loading things. I told my son who was about to troubleshoot the problem. Whether it was a new problem at that time or coming from something done earlier, I don't know. It started as error messages, then a total crash of the pages. The webservice company told us it had used too much memory. I have changed the php timeout which my son had increased to a large amount so he could get the database built and uploaded to the website. I did not downsize it. I have now, and it seems to run better, not as slow as it was when they first restarted the server. Perhaps this was the problem. The site seems quite popular, and has been hit by many people, some at the same time... Maybe it just overloaded. I don't know.... I will let you know if I have further problems. Unfortunately, that may only be after a crash since my son says he has no way of checking on memory usage on the website! :-( I did enable statistics like you told me to do on the other thread. I will try to keep an eye on it. Thank you for your help.
It crashed again... My son has written support, but I have not heard from him. It worked great for a couple of weeks. I had tried to reduce the time for the php to work before it times out. I still have not tried removing the option to search all names without showing surnames. I may try that if it ever goes back on line. :-(