Errors, errors, errors, I hate them.

Try to login to my site keep getting error

Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 331500 bytes) in /home/Db/public_html/inc/classes/BxDolTemplate.php on line 679

then receive a site that looks like attachment, refresh then sites good. Members are experiencing the same so it is not isolated to my browser. Spoke to Host, they stated that site is up. I told them it only happens when you try and login as a member, site loads fine for guests. Of course guests are limited to functions. Could it be shared hosting settings? restricting allocation to try and upsell to vps or dedicated.  Have a limit of processes that I have not seen before in cpanel. States that I have only 20 processes allowed. Here are the processes that were running.

324186 db 18 0 264m 16m 8776 R 2.0 0.2 0:00.06 /usr/bin/php /home/db/public_html/modules/ibdw/3col/query_request.php
324189 db 18 0 262m 12m 8396 R 2.0 0.2 0:00.06 /usr/bin/php /home/db/public_html/modules/index.php
324170 db 18 0 264m 15m 8776 R 1.7 0.2 0:00.07 /usr/bin/php /home/db/public_html/flash/XML.php
324199 db 18 0 218m 11m 7384 R 1.7 0.1 0:00.05 /usr/bin/php /home/db/public_html/member_menu_queries.php
324200 db 18 0 219m 12m 7676 R 1.7 0.2 0:00.05 /usr/bin/php /home/db/public_html/member_menu_queries.php
324180 db 18 0 261m 11m 8148 R 1.3 0.1 0:00.04 /usr/bin/php /home/db/public_html/flash/XML.php
324185 db 18 0 261m 11m 8120 R 1.0 0.1 0:00.03 /usr/bin/php /home/db/public_html/modules/ibdw/1col/query_onecol.php
324188 db 18 0 217m 9540 6612 R 1.0 0.1 0:00.03 /usr/bin/php /home/db/public_html/member_menu_queries.php
324182 db 18 0 261m 11m 7876 R 0.7 0.1 0:00.02 /usr/bin/php /home/db/public_html/flash/XML.php
324184 db 18 0 180m 7240 5392 R 0.3 0.1 0:00.01 /usr/bin/php /home/db/public_html/modules/index.php
324191 db 18 0 136m 1076 728 R 0.3 0.0 0:00.01 /usr/bin/php /home/db/public_html/index.php
324193 db 18 0 69376 604 420 R 0.3 0.0 0:00.01 /usr/bin/php /home/db/public_html/gzip_loader.php
324201 db 18 0 136m 2836 2240 R 0.3 0.0 0:00.01 /usr/bin/php /home/db/public_html/flash/XML.php
135833 db 15 0 17916 1720 1300 S 0.0 0.0 0:00.18 imap
135834 db 15 0 17904 1704 1288 S 0.0 0.0 0:00.27 imap
135838 db 15 0 17904 1704 1288 S 0.0 0.0 0:00.22 imap
135841 db 15 0 17924 2044 1452 S 0.0 0.0 0:00.20 imap
138074 db 15 0 17904 1708 1288 S 0.0 0.0 0:00.19 imap
323986 db 20 0 261m 12m 8376 R 0.0 0.2 0:00.05 /usr/bin/php /home/vunder5/public_html/flash/XML.php
324133 db 20 0 136m 4824 3952 R 0.0 0.1 0:00.02 /usr/bin/php /home/vunder5/public_html/flash/XML.php
324156 db 20 0 136m 2660 2072 R 0.0 0.0 0:00.01 /usr/bin/php /home/vunder5/public_html/member_menu_queries.php
------------------------------------------

So he cleared the processes. Still have the error and white screen. Here's response from Host on issue:

Now, note that there is a limit on the shared hosting environment on the Entry processes that can run simultaneously on your account. It is set to 20 and this configuration is global for all our customers on the same server. It is in place in order to make sure that the resources on the server are divided properly between our customers on the same server. Note that the entry processes are everything that runs on your account, such as a request to your website, a query to your database, a cron job running on your account, an email message, etc. The number of such processes that can run simultaneously on your account is set to 10. Note that if there is an 11th process that needs to run, it will have to wait until there is an available slot for it. If there is no slot for a certain period of time, this will result in the Resource Limit Reached error message in question.

My thoughts: Is a limit of 20 simultaneous entry processes normal?  For heaven sakes, I am using Dolphin.

This is how host suggested I fix it.

However, in order to permanently resolve the issue in question, you do have the following options:

1. Contact a local web developer to optimize your website for better performance
2. Upgrade your account to a VPS or dedicated server. This is because on them, you will have your own environment and resources dedicated to you only. We will be able to modify it as per your exact needs, as this will not affect anyone else.

 

Mind you the process he cleared and still have issue so upgrading is not the solution but the Host maybe the problem. Of course, and some program issues.

Can anyone help me with this issue? I am not totally inept, just slightly.  ;)

whitescreen.jpg · 52K · 185 views
Vunderba..... Challenge Yourself to be the Best...... Hosting from Zarconia.net
Quote · 17 Apr 2013

Ok. First problem.

Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 331500 bytes) in /home/Db/public_html/inc/classes/BxDolTemplate.php on line 679

That indicates your hosting is only configured for 32M of memory and dolphin has a minimum specific requirement of 128M.  I run with 512m as i have determined dolphin runs best with at least that much. So your host does not even meet that requirement. See the requirements to run dolphin here. http://www.boonex.com/trac/dolphin/wiki/DolTech

Dolphin will just not run properly if your host does not at least meet those requirements.

Normally that problem can be corrected with a custom php.ini file to raise the memory limit if your host supports it. Go into Admin then tools then host tools to check for other problems dolphin has found. A section in dolphin admin i am guessing you have not looked at yet.

How ever, if your host is restricting processes as well, then forget it. Don't even bother to run dolphin on that host. Find another one. See my sig below for a hosting company that actually knows dolphin and what it needs.

https://www.deanbassett.com
Quote · 17 Apr 2013

There is no way in the world you will be able to run dolphin on 10 process and even if you could it wouldn't support more then 2 people on the site at the same time .... 

https://dolphin-techs.com - Skype: Dolphin Techs
Quote · 17 Apr 2013

Thanks to both for your opinions. It confirms my suspicions that I was being short changed. I had already gone into Php.ini and changed my config once. Obviously someone from the server went in and changed the config to low limits to make it look like I needed to upgrade. Unfortunately, I thought I was with a trustworthy Host.  I also checked my ffmeg setting and they too were also not set at 777. One thing that concerns me is that php is not set to security in the original download from Boonex. So security issues abound even from internal sources.

Vunderba..... Challenge Yourself to be the Best...... Hosting from Zarconia.net
Quote · 18 Apr 2013

 Not sure what you mean here, can you expound?

 

One thing that concerns me is that php is not set to security in the original download from Boonex. So security issues abound even from internal sources.

 

BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin
Quote · 18 Apr 2013

Open up the PHP.ini file in root. First thing written.

[PHP]

;;;;;;;;;;;
; WARNING ;
;;;;;;;;;;;
; This is the default settings file for new PHP installations.
; By default, PHP installs itself with a configuration suitable for
; development purposes, and *NOT* for production purposes.
; For several security-oriented considerations that should be taken
; before going online with your site, please consult php.ini-recommended
; and http://php.net/manual/en/security.php.

Vunderba..... Challenge Yourself to be the Best...... Hosting from Zarconia.net
Quote · 18 Apr 2013

 Oh sorry, what confused me was you said the "original download from Boonex". I didn't see you were talking about PHP itself.

 

Open up the PHP.ini file in root. First thing written.

[PHP]

;;;;;;;;;;;
; WARNING ;
;;;;;;;;;;;
; This is the default settings file for new PHP installations.
; By default, PHP installs itself with a configuration suitable for
; development purposes, and *NOT* for production purposes.
; For several security-oriented considerations that should be taken
; before going online with your site, please consult php.ini-recommended
; and http://php.net/manual/en/security.php.

 

BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin
Quote · 18 Apr 2013

Normal for new installs of PHP. PHP is installed by your host.

A php.ini file is not included as part of dolphin and is not in the dolphin zip file. Setting up the proper php settings for the server is the responsibility of either you or your host. Reason is that php setups are part of configuring a server and not all server configurations support per directory php.ini files so there is no point in including one with dolphin.

Anyhow, most all hosting runs with the default settings that php provides when first installed so just ignore that little warning message at the top of the php.ini file. It's in all default server installs of php. Even if your were to install php yourself it would still be there.


https://www.deanbassett.com
Quote · 18 Apr 2013

Oh sorry, what confused me was you said the "original download from Boonex". I didn't see you were talking about PHP itself.

Crap. They need to move that report button.  Anyhow. I think he was under the impression that a php.ini file was included with dolphin.

https://www.deanbassett.com
Quote · 18 Apr 2013

 No problem, I've done it a dozen times too. Luckily I don't think the "reports" go anywhere. 

 

Crap. They need to move that report button.  Anyhow. I think he was under the impression that a php.ini files was included with dolphin.

 

BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin
Quote · 18 Apr 2013

Adjusted the timing on the PHP.INI file. Poof problem solved. Yes, Deano, you are correct. That's why it is invaluable to have a support system like this one. Okay Deano, I owe you more the a cup of coffee, now.

 

Vunderba..... Challenge Yourself to be the Best...... Hosting from Zarconia.net
Quote · 18 Apr 2013
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.