Author Topic: New host, new error  (Read 1989 times)

Kino

  • Posts: 31
    • View Profile
New host, new error
« on: February 08, 2006, 11:27:15 am »
Trying a new hosting account after configuration and testing I began sending an email to a list of about 1700 subscribers. I rec'd an error message twice during the mailout, which halted the delivery. After sending, I realize that had not configured the web address on bounce.cgi properly.

Is it possible that the following error messages happened because bounce.cgi was not configured right?

Average speed: 7.01 per second. 25236 per hour.

Fatal error: Maximum execution time of 30 seconds exceeded in /mounted-storage/home5/sub003/sc12440-EKME/mydomain.ca/mail/admin.php on line 645

After clicking "Resume" another 700 or so emails delivered and it stopped again, giving this error:

Fatal error: Maximum execution time of 30 seconds exceeded in /mounted-storage/home5/sub003/sc12440-EKME/mydomain.ca/mail/mimepart.php on line 302

"mydomain" has been hidden. Dean, maybe you can determine if this problem was the bounce script, or something more serious. From what I can see the email otherwise sent properly.

Thanks.

K

mike2

  • Posts: 193
    • View Profile
New host, new error
« Reply #1 on: February 08, 2006, 01:03:41 pm »
The problem is a configuration setting in your php.ini file that says if a script is running for longer than 30 seconds, send an error and kill it.

I'm guessing the only way around this is to edit your php.ini, find the line that says something like:  "max_execution_time = 30     ; Maximum execution time of each script, in seconds"

and change it to:  "max_execution_time = 0     ; Maximum execution time of each script, in seconds"

This says let a script run forever.  I could be wrong and there may be other ways around this, anyone else feel free to chime in.  Also setting this to 0 could possibly be "dangerous" on a shared system???

DW

  • Administrator
  • Posts: 3787
    • View Profile
    • https://legacy.listmailpro.com
New host, new error
« Reply #2 on: February 08, 2006, 05:13:37 pm »
It does look like a hard limit on PHP script execution time.  Normally, a script can set the limit to 0 (unlimited) without modifying the default value in PHP.INI.  I believe PHP "safe_mode" must be enabled on your domain to allow this.

On my Plesk servers I must set up the following custom web server directives to allow ListMail to run 'forever':
Code: [Select]
<Directory /full/path/to/example.com/www-folder>
php_admin_value safe_mode 0
</Directory>

This might be able to be entered into an .htaccess file in your main web folder or ListMail folder, but should probably instead be 'included' with the server config to be operational site-wide.

Regards, DW

Update: Typo.. safe mode should actually be disabled. The code above is correct for this.
Dean Wiebe
ListMailPRO Author & Developer - Help | Support | Hosting

Kino

  • Posts: 31
    • View Profile
New host, new error
« Reply #3 on: February 09, 2006, 11:31:39 am »
Tried out that string in the .htaccess and it causes an Internal Server Error.

Safe Mode is already turned on for this domain.

Any other ideas, or should I just give up on this host?

Thanks,

K

DW

  • Administrator
  • Posts: 3787
    • View Profile
    • https://legacy.listmailpro.com
New host, new error
« Reply #4 on: February 09, 2006, 07:20:19 pm »
My apologies.  Safe mode should actually be disabled.  I recommend giving that a try before switching hosts.

Regards, DW
Dean Wiebe
ListMailPRO Author & Developer - Help | Support | Hosting

DW

  • Administrator
  • Posts: 3787
    • View Profile
    • https://legacy.listmailpro.com
New host, new error
« Reply #5 on: February 25, 2007, 07:22:24 pm »
Web hosts are being analyzed and reviewed - please post your recent experience if your host is not listed already!

Here's the post:
Email Web Hosting Review

Regards
Dean Wiebe
ListMailPRO Author & Developer - Help | Support | Hosting