Re: squirrelmail-20220130_0200-SVN.devel on Fedora 35, ISE 500 on large email

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



]On Sun, Jan 30, 2022 at 8:44 PM Paul Lesniewski <paul@xxxxxxxxxxxxxxxx>
wrote:

>
>
> On Sun, January 30, 2022 10:56 pm, Robert Kudyba wrote:
> > [image: white-frame.png]
> >
> > I've seen this in older versions but we have an instance of an email that
> > is very large, i.e., lots of text. It results in a blank/white frame and
> a
> > 500 Internal Server Error. I was able to strace the php-fpm process to
> see
> > where this happens.
>
> You have posted several threads here and been asked to watch your PHP
> logs, but you don't seem to do that.  Please always look at your PHP logs
> first.  Resorting to strace is fairly outrageous when you'll likely find
> an out-of-memory error in the PHP log and then you can google that error
> and the solution is straight forward.  Or search the mailing list
> archives.  Or search for hints on the SquirrelMail website/wiki.
>

I'm sorry and I've posted that I could not find where to get PHP to
actually log errors...until now. I set it in /etc/php.ini, no difference,
Then I found /etc/php-fpm.d/www.conf, no difference. And yes I restarted
httpd each time. Then I found your debugging plugin
<https://squirrelmail.org/plugin_view.php?id=228>. And it wasn't until I
saw "11. Tweaks" option and then:
Configuration tweaks
7.  Allow remote configtest     : false
8.  Debug mode                  : SM_DEBUG_MODE_OFF

Once I enabled those, the first warning I got was this:
    WARNING: undelete is NOT COMPATIBLE with this version of SquirrelMail

And then I saw these errors:
[31-Jan-2022 02:34:22 UTC] PHP Notice:  session_start() [<a href='
http://www.php.net/function.session-start'>function.session-start</a>]:
Ignoring session_start() because a session is already active in
/usr/share/squirrelmail/functions/global.php on line 129

[30-Jan-2022 21:34:52 America/New_York] PHP Fatal error:  Maximum execution
time of 30 seconds exceeded in
/usr/share/squirrelmail/functions/url_parser.php on line 60

So I suppose I can extend the time out? Or is there a better option?

FWIW line 60 has this:
    while (preg_match('/' . $Email_RegExp_Match . '/i', $sbody, $regs)) {

-----
squirrelmail-users mailing list
Posting guidelines: http://squirrelmail.org/postingguidelines
List address: squirrelmail-users@xxxxxxxxxxxxxxxxxxxxx
List archives: http://news.gmane.org/gmane.mail.squirrelmail.user
List info (subscribe/unsubscribe/change options): https://lists.sourceforge.net/lists/listinfo/squirrelmail-users



[Index of Archives]     [Video For Linux]     [Yosemite News]     [Yosemite Photos]     [gtk]     [KDE]     [Cyrus SASL]     [Gimp on Windows]     [Steve's Art]     [Webcams]

  Powered by Linux