Anton Martin Posted April 11, 2014 Share Posted April 11, 2014 Hi Guys, I'm fairly new to Processwire but am very excited by what it's capable of. Loving the fact that it leaves you to create the mark up! I have a problem on my latest project, it's a fairly simple site that ran flawlessly on my testing server however now it's throwing up 500 errors every few page clicks. Upon checking the server logs I see the following error (variations relating to the referring page anyway). Cannot allocate memory: couldn't create child process: /opt/suphp/sbin/suphp for /home4/artandbr/public_html/index.php, referer: http://artandbrushpainting.com.au/tricks-of-the-trade/ The clients web host is telling me that my scripts need optimising - sounds like rubbish as the site is fairly light weight and not doing anything fancy. Their PHP Memory Value is currently 64mb. I'd appreciate any ideas, feedback or condolences as I'm by no stretch a PHP developer and am a little lost at this point! PS the host is crazydomains.com.au which are considered to be cheap and nasty over here in Australia. Link to comment Share on other sites More sharing options...
Martijn Geerts Posted April 11, 2014 Share Posted April 11, 2014 I don't know what is going on, but sometimes the form http://artandbrushpainting.com.au/form-builder/quote/ is generation a 500 64mb of memory is enough so what I can see for your website. ( think it will run on 32mb to if you don't need to scale images in the back-end. ) So I think there must be something else, mis configuration of the server ? Link to comment Share on other sites More sharing options...
Anton Martin Posted April 11, 2014 Author Share Posted April 11, 2014 Thanks for the reply. Yes, there's 500 errors occuring every few page clicks (irrespective of page). Just out of curiosity how did you get to this url: http://artandbrushpainting.com.au/form-builder/quote/ ? Link to comment Share on other sites More sharing options...
Martijn Geerts Posted April 11, 2014 Share Posted April 11, 2014 You can see that in the dev tool from chrome. Link to comment Share on other sites More sharing options...
Anton Martin Posted April 11, 2014 Author Share Posted April 11, 2014 You can see that in the dev tool from chrome. Thanks - thought I had put it somewhere client side by mistake. Link to comment Share on other sites More sharing options...
Martijn Geerts Posted April 11, 2014 Share Posted April 11, 2014 The clients web host is telling me that my scripts need optimising - sounds like rubbish as the site is fairly light weight and not doing anything fancy. Their PHP Memory Value is currently 64mb. Unasked advise: If you don't trust that host, save money for the client and save the irritation you will get. Go run for it and search another hoster. Link to comment Share on other sites More sharing options...
Anton Martin Posted April 11, 2014 Author Share Posted April 11, 2014 Unasked advise: If you don't trust that host, save money for the client and save the irritation you will get. Go run for it and search another hoster. I'd like nothing more than to take that advice and head for the hills. Unfortunately the client is unwilling to move hosts - usually I'd insist on hosting the site with my usual provider but this client already had an established relationship with this company that he didn't want to move away from. He's even paid me a "3rd party hosting" fee so I'd install it on someone else's server. Could this module be a possible solution? https://processwire.com/talk/store/product/6-procache-single/ Link to comment Share on other sites More sharing options...
Martijn Geerts Posted April 11, 2014 Share Posted April 11, 2014 If you don't get to the root of your problem it will come back to you later on. I do expect the same problems for the back-end and recreation of the cache, so I think ProCache on it's own is not a solution. Nevertheless, those $39.00 spend for ProCache will be the best $39.00 spend this week I think. Sorry I can't help you more then this. 1 Link to comment Share on other sites More sharing options...
JeffS Posted April 11, 2014 Share Posted April 11, 2014 @Anton - It looks like you are serving PW up via NGINX right? What is your config? 1 Link to comment Share on other sites More sharing options...
Anton Martin Posted April 12, 2014 Author Share Posted April 12, 2014 @Anton - It looks like you are serving PW up via NGINX right? What is your config? Yes looks to be that way, it's a shared hosting server through crazydomains.com.au. This may be of help: http://artandbrushpainting.com.au/phpinfo.php Thanks for the reply too. Link to comment Share on other sites More sharing options...
adrian Posted April 12, 2014 Share Posted April 12, 2014 Well that shows it's running Apache. Looking at the path of that error it shows the server is running php under suPHP and if you google that error you are getting, it seems that everyone is also running suPHP, so I think it might be time to put the onus back on your host. Maybe someone else has some better ideas? PS I had to deal with crazydomains once - I found the site was often unavailable for a few minutes at a time, quite regularly. I know you can't change, but I am sure they are the issue. 1 Link to comment Share on other sites More sharing options...
Pete Posted April 12, 2014 Share Posted April 12, 2014 I've heard the "unoptimised script" excuse with different software on different hosts over the years and it always ticks me off when you're using software you know is properly configured and can handle the load. If nothing else I feel your pain Link to comment Share on other sites More sharing options...
Anton Martin Posted April 13, 2014 Author Share Posted April 13, 2014 Hey guys, Just wanted to say thanks to all for taking the time to reply, really appreciate it. I'm going to put this issue back to the hosting provider. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now