Author Topic: [ANN] [STABLE!] mmc.xpool.xram.co - First Memorycoin Pool  (Read 130680 times)

0 Members and 1 Guest are viewing this topic.

Offline KillerByte

  • Sr. Member
  • ****
  • Posts: 298
    • View Profile
pool is on, but very slow now

does not seem slow to me. Internet lag maby?

Quote
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

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

Offline pvp1982

  • Jr. Member
  • **
  • Posts: 29
    • View Profile
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.


Offline svyatoslav

  • Full Member
  • ***
  • Posts: 60
    • View Profile
pool is on, but very slow now
Donate memorycoin.info

MMC: M8DJnqMBuW6QGfoprDDr4jMgCnDBuyChfq

Offline KillerByte

  • Sr. Member
  • ****
  • Posts: 298
    • View Profile
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.

MK6kyLAgPzRo5RXkkVFZz9Jv1i4PvXWAhQ

only if the advices are helping you :)


they were really helpful, thanks.

Offline pvp1982

  • Jr. Member
  • **
  • Posts: 29
    • View Profile
MK6kyLAgPzRo5RXkkVFZz9Jv1i4PvXWAhQ

only if the advices are helping you :)


Offline itsik78

  • Sr. Member
  • ****
  • Posts: 297
    • View Profile
Something's strange...
It says that a block was found a few minutes ago and yet the share count wasn't zeroed out

Offline KillerByte

  • Sr. Member
  • ****
  • Posts: 298
    • View Profile
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.

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.

Offline s4l1h

  • Full Member
  • ***
  • Posts: 122
    • View Profile
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

Offline h0g0f0g0

  • Jr. Member
  • **
  • Posts: 48
    • View Profile
KilleByte will you publish the code so that more people can contribute? I guess it will have positive effect on quality.

Offline pvp1982

  • Jr. Member
  • **
  • Posts: 29
    • View Profile
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.

Offline KillerByte

  • Sr. Member
  • ****
  • Posts: 298
    • View Profile
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?

Offline s4l1h

  • Full Member
  • ***
  • Posts: 122
    • View Profile
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?

Offline KillerByte

  • Sr. Member
  • ****
  • Posts: 298
    • View Profile
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 :)
« Last Edit: December 25, 2013, 06:59:30 pm by KillerByte »

Offline pvp1982

  • Jr. Member
  • **
  • Posts: 29
    • View Profile
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.

Offline KillerByte

  • Sr. Member
  • ****
  • Posts: 298
    • View Profile
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.