Hi,
I have run Surgemail on my CENTOS 7 server since a long time.
Today I ran into an upgrade issue, after the recently released kernel update from 3.10.0-514.21.1.el7.x86_64 to 3.10.0-514.21.2.el7.x86_64 on my CENTOS server. Upon rebooting, my Surgemail email server cannot not re-start with the new kernel.
I tried two different versions of Surgemail (incl the most recent) and both work with the old kernel and both fail with the new kernel.
A manual start gives:
[root@server1 ~]# /usr/local/surgemail/surgemail_start.sh
kernel.shmmax = 300000000
/usr/local/surgemail/surgemail_start.sh: line 11: ./startmail: Argument list too long
[root@server1 ~]#
Any ideas, or suggestions from your side?
I have asked Surgemail support but I have not received a reply yet (they are normally very responsive - max 24 h)
I don't want to start experimenting and by that blocking the email service, without knowing where to start....
Any help is appreciated!
Thanks!
Kernel update issue with Surgemail
Re: Kernel update issue with Surgemail
Sounds like another symptom of https://bugs.centos.org/view.php?id=13453
Try reading the linked icinga page from that bug report and see if their workaround can be made applicable to you too.
Try reading the linked icinga page from that bug report and see if their workaround can be made applicable to you too.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke
Re: Kernel update issue with Surgemail
Thanks Trevor, so it's a real kernel bug, but I don't know how to get around it.
Let's hope the Surgemail team can help me out here.....
Let's hope the Surgemail team can help me out here.....
-
- Posts: 1
- Joined: 2017/06/26 04:57:53
Re: Kernel update issue with Surgemail
As a quick fix remove the 'ulimit' command from
/usr/local/surgemail/surgemail_start.sh
As it is not really required.
ChrisP. (SurgeMail support).
/usr/local/surgemail/surgemail_start.sh
As it is not really required.
ChrisP. (SurgeMail support).
Re: Kernel update issue with Surgemail
As recommended by Surgemail in a separate email, I edited /usr/local/surgemail/surgemail_start.sh , from the orginal line
ulimit -s 1000
into:
ulimit -s 300000
The server runs now without any problems with the new kernel 3.10.0-514.21.2.el7.x86_64 on my CENTOS 7 server. Problem solved!
Thanks Surgemail support for the great and quick help, even when this is not a problem caused by Surgemail.
BR
Ralf
ulimit -s 1000
into:
ulimit -s 300000
The server runs now without any problems with the new kernel 3.10.0-514.21.2.el7.x86_64 on my CENTOS 7 server. Problem solved!
Thanks Surgemail support for the great and quick help, even when this is not a problem caused by Surgemail.
BR
Ralf