[ANN] [STABLE!] mmc.xpool.xram.co - First Memorycoin Pool

Started by KillerByte, December 24, 2013, 07:01:03 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

KillerByte

Quote from: svyatoslav on December 25, 2013, 07:14:52 PM
pool is on, but very slow now

does not seem slow to me. Internet lag maby?

QuoteNot need but pool server need optimize /etc/sysctl.conf keepalive time out vs..

see file: https://github.com/GTRsdk/mmcFE/blob/master/scripts/linux-tune.sh

This is also helpful. The pool is not at all pushpool based, but I probobly will implement it. Thanks!

pvp1982

Quote from: marlowbg on December 25, 2013, 07:11:12 PM
MK6kyLAgPzRo5RXkkVFZz9Jv1i4PvXWAhQ

only if the advices are helping you :)




Thanks, if you feel that you are again reaching some default linux limits I can help, because I'm everyday into optimising linux for many sockets/connections.


svyatoslav

Donate [url="//memorycoin.info"]memorycoin.info[/url]

MMC: M8DJnqMBuW6QGfoprDDr4jMgCnDBuyChfq

KillerByte

Quote from: itsik78 on December 25, 2013, 07:10:33 PM
Something's strange...
It says that a block was found a few minutes ago and yet the share count wasn't zeroed out

I just noticed. Probobly has to do with the server crashes... I am trying to decide if it matters to reset or not. I think it is fine to leave it, just so long as it resets next block.

Quote from: marlowbg on December 25, 2013, 07:11:12 PM
MK6kyLAgPzRo5RXkkVFZz9Jv1i4PvXWAhQ

only if the advices are helping you :)


they were really helpful, thanks.

pvp1982

MK6kyLAgPzRo5RXkkVFZz9Jv1i4PvXWAhQ

only if the advices are helping you :)


itsik78

Something's strange...
It says that a block was found a few minutes ago and yet the share count wasn't zeroed out

KillerByte

Quote from: h0g0f0g0 on December 25, 2013, 07:04:48 PM
KilleByte will you publish the code so that more people can contribute? I guess it will have positive effect on quality.

I have been considering it... but then everyone else will just open their own pool :)

This wasnt even a software bug, so a code change would not have helped.

Quote from: marlowbg on December 25, 2013, 07:03:47 PM
if you edint any .conf file - the settings will be triggered after reboot.

just in case also apply the port range that I've given also.

This will increase the possible simultaneous connections to the server.

you can paste here the result of cat /proc/net/sockstat once the server is up and running for at least 10-20 minutes, so we can see what is the load and if you are near some limit.

Great. Thanks for your help... donation address maby?

s4l1h... I am still reading your post.

s4l1h

Quote from: KillerByte on December 25, 2013, 07:00:23 PM
Quote from: s4l1h on December 25, 2013, 06:58:59 PM
Quote from: KillerByte on December 25, 2013, 06:47:07 PM
OK, I might have finally found the reason why the pool keeps crashing!

terminate called after throwing an instance of 'boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::system::system_error> >'
  what():  accept: Too many open files

Does this mean that the server has reached its limit?

Figured I would post this and let everyone know. It has finally been found!

open /etc/security/limits.conf and change pool software user limit.

Example:

www-data soft nofile 750000
www-data hard nofile 750000
root soft nofile 750000
root hard nofile 750000



What is pool software?

its just C++ code with boost.

I think that will work. Thanks for the help. Do you think a restart is needed?

Not need but pool server need optimize /etc/sysctl.conf keepalive time out vs..

see file: https://github.com/GTRsdk/mmcFE/blob/master/scripts/linux-tune.sh
vote for us for cto: [url="https://bitsharestalk.org/index.php?topic=1852.0"]https://bitsharestalk.org/index.php?topic=1852.0[/url]

Wiki => [url="http://www.mmcwiki.com/"]http://www.mmcwiki.com/[/url] MemoryCoin Charts => [url="http://s4l1h.github.io/mmc/"]http://s4l1h.github.io/mmc/[/url]

h0g0f0g0

KilleByte will you publish the code so that more people can contribute? I guess it will have positive effect on quality.

pvp1982

if you edint any .conf file - the settings will be triggered after reboot.

just in case also apply the port range that I've given also.

This will increase the possible simultaneous connections to the server.

you can paste here the result of cat /proc/net/sockstat once the server is up and running for at least 10-20 minutes, so we can see what is the load and if you are near some limit.

KillerByte

Quote from: s4l1h on December 25, 2013, 06:58:59 PM
Quote from: KillerByte on December 25, 2013, 06:47:07 PM
OK, I might have finally found the reason why the pool keeps crashing!

terminate called after throwing an instance of 'boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::system::system_error> >'
  what():  accept: Too many open files

Does this mean that the server has reached its limit?

Figured I would post this and let everyone know. It has finally been found!

open /etc/security/limits.conf and change pool software user limit.

Example:

www-data soft nofile 750000
www-data hard nofile 750000
root soft nofile 750000
root hard nofile 750000



What is pool software?

its just C++ code with boost.

I think that will work. Thanks for the help. Do you think a restart is needed?

s4l1h

Quote from: KillerByte on December 25, 2013, 06:47:07 PM
OK, I might have finally found the reason why the pool keeps crashing!

terminate called after throwing an instance of 'boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::system::system_error> >'
  what():  accept: Too many open files

Does this mean that the server has reached its limit?

Figured I would post this and let everyone know. It has finally been found!

open /etc/security/limits.conf and change pool software user limit.

Example:

www-data soft nofile 750000
www-data hard nofile 750000
root soft nofile 750000
root hard nofile 750000



What is pool software?
vote for us for cto: [url="https://bitsharestalk.org/index.php?topic=1852.0"]https://bitsharestalk.org/index.php?topic=1852.0[/url]

Wiki => [url="http://www.mmcwiki.com/"]http://www.mmcwiki.com/[/url] MemoryCoin Charts => [url="http://s4l1h.github.io/mmc/"]http://s4l1h.github.io/mmc/[/url]

KillerByte

#265
Quote from: marlowbg on December 25, 2013, 06:54:11 PM
Quote from: KillerByte on December 25, 2013, 06:47:07 PM
OK, I might have finally found the reason why the pool keeps crashing!

terminate called after throwing an instance of 'boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::system::system_error> >'
  what():  accept: Too many open files

Does this mean that the server has reached its limit?

Figured I would post this and let everyone know. It has finally been found!

ulimit -n 500000; ./poolstart

also this helps

echo 1000 65535 > /proc/sys/net/ipv4/ip_local_port_range

will help you.

I was getting into that. Unfortunately, the hard limit must be increased. I just edited /etc/sysctl.conf, hopefully the restart will fix.

EDIT: that was not the limits file... so I just found out it is somewhere else :)

pvp1982

Quote from: KillerByte on December 25, 2013, 06:47:07 PM
OK, I might have finally found the reason why the pool keeps crashing!

terminate called after throwing an instance of 'boost::exception_detail::clone_impl<boost::exception_detail::error_info_injector<boost::system::system_error> >'
  what():  accept: Too many open files

Does this mean that the server has reached its limit?

Figured I would post this and let everyone know. It has finally been found!

ulimit -n 500000; ./poolstart

also this helps

echo 1000 65535 > /proc/sys/net/ipv4/ip_local_port_range

will help you.

KillerByte

Quote from: ig0tik3d on December 25, 2013, 06:46:02 PM
KillerByte this miner is compatible with your pool  https://bitsharestalk.org/index.php?topic=1585.0

Are you sure? I dont see how that could be... this pool is not getwork compatible.