Topic: Some type of cpu leak caused by running a ftp server w/ mysecureshell.

I am running ftp along side of mysecureshell and there seems to be some kind of cpu leak caused by mysecureshell. I have ran proftpd and vsftpd and both ftp servers seem to cause the load to go up exponentially while using mysecureshell. It does not happen on a server with out mysecureshell...

It seems like mysecureshell causes the ftp session never to close.. It does not seem to slow down the server at all but daily the load goes up slightly. The only way I can kill the ftp session is to reboot the server. I thought it was fixed in the last release but it seems ftp was not actually working with centos because of the rpm not adding mysecureshell to /etc/shells.

Now that I got the issue fixed caused by the new rpm the Load going up is back.. Let me know if I can do anything to help fix the issue...

OS: CentOS 6.5 64 bit

Re: Some type of cpu leak caused by running a ftp server w/ mysecureshell.

Hi,

When you upgrade MySecureShell in CentOS, accidently it remove "/bin/MySecureShell" from "/etc/shells".

Please upgrade MySecureShell and add line "/bin/MySecureShell" at the end of "/etc/shells".

The problem is still here ?

Re: Some type of cpu leak caused by running a ftp server w/ mysecureshell.

I have only upgraded the one time. If there is a new update I can try it again. Last time I added it manually /etc/shells which I believe was the 3.1.2 centos release..  If you updated that release I can downgrade and upgrade one of my servers to see if it is fixed if you want. That part seems to be fine on my servers since I added it manually...


This post was more about the weird load mysecureshell seems to be causing when used in conjunction with ftp...

Re: Some type of cpu leak caused by running a ftp server w/ mysecureshell.

Ok smile

But it strange since MySecureShell is a shell and does not affect ftp... maybe it's because MySecureShell is specified as a shell for user and ftp doesn't like this...

Re: Some type of cpu leak caused by running a ftp server w/ mysecureshell.

I can put up a vm and install centos 6.4 mysecureshell and proftpd or vsftpd see if I can reproduce then hand off to you if you want. I will go ahead and do that.. If I can reproduce on a vps I will pm you login information... I really appreciate how supportive you are... It is a really weird issues I have managed servers for a lot of years and at first time I have seen an issue like this.. I thought it was the ftp server.. So I changed from vsftpd to proftpd. The problem came back.. I have never had this issue running proftpd or vsftpd on a normal server. The load will go up every couple days and but it does not slow down the server so it really just an annoyance. When I first noticed it the load was twenty but I could not find any reason for the load to be twenty.. Just hung ftp session that would not close no matter how I try to kill them..


Anyways I will let you know maybe I will setup a vm this weekend...
Thank you

Re: Some type of cpu leak caused by running a ftp server w/ mysecureshell.

Thank you.

If you can give me a VM (VirtualBox ?), i could try to search smile

Re: Some type of cpu leak caused by running a ftp server w/ mysecureshell.

I setup vps and I have not been able to get the same result. You can go ahead and remove this post so it does not confuse people if they have similar issues. If it comes back I will pm you..

Thanks for your help...

Re: Some type of cpu leak caused by running a ftp server w/ mysecureshell.

Very strange...

Contact me if you have any information.

Thank you smile