Pages:
Author

Topic: [ANN][YAC][POOL]p2pool for yacoin!! - page 4. (Read 28208 times)

hero member
Activity: 756
Merit: 501
June 13, 2013, 10:15:53 AM
Sry for double post, the too many files open errors are gone, now i get this after ~20 minutes:
Code:
2013-06-13 15:12:55.599240 >     self.doIteration(t)
2013-06-13 15:12:55.599288 > --- ---
2013-06-13 15:12:55.599342 >   File "/usr/lib/python2.6/dist-packages/twisted/internet/selectreactor.py", line 104, in doSelect
2013-06-13 15:12:55.599403 >     [], timeout)
2013-06-13 15:12:55.599454 > exceptions.ValueError: filedescriptor out of range in select()
2013-06-13 15:12:55.950729 > Traceback (most recent call last):
2013-06-13 15:12:55.950985 >   File "./run_p2pool.py", line 5, in
2013-06-13 15:12:55.951034 >     main.run()
2013-06-13 15:12:55.951121 >   File "/home/eule/p2pool-yac/p2pool/main.py", line 562, in run
2013-06-13 15:12:55.951170 >     reactor.run()
2013-06-13 15:12:55.951213 >   File "/usr/lib/python2.6/dist-packages/twisted/internet/base.py", line 1165, in run
2013-06-13 15:12:55.951260 >     self.mainLoop()
2013-06-13 15:12:55.951302 >   File "/usr/lib/python2.6/dist-packages/twisted/internet/base.py", line 1177, in mainLoop
2013-06-13 15:12:55.951380 >     self.doIteration(t)
2013-06-13 15:12:55.951421 > --- ---
2013-06-13 15:12:55.951465 >   File "/usr/lib/python2.6/dist-packages/twisted/internet/selectreactor.py", line 104, in doSelect
2013-06-13 15:12:55.951506 >     [], timeout)
2013-06-13 15:12:55.951562 > exceptions.ValueError: filedescriptor out of range in select()
2013-06-13 15:12:55.959041 > Traceback (most recent call last):
2013-06-13 15:12:55.959138 >   File "./run_p2pool.py", line 5, in
2013-06-13 15:12:55.959185 >     main.run()
2013-06-13 15:12:55.959226 >   File "/home/eule/p2pool-yac/p2pool/main.py", line 562, in run
2013-06-13 15:12:55.959267 >     reactor.run()
2013-06-13 15:12:55.959512 >   File "/usr/lib/python2.6/dist-packages/twisted/internet/base.py", line 1165, in run
2013-06-13 15:12:55.959595 >     self.mainLoop()
2013-06-13 15:12:55.959641 > --- ---
2013-06-13 15:12:55.959685 >   File "/usr/lib/python2.6/dist-packages/twisted/internet/base.py", line 1177, in mainLoop
2013-06-13 15:12:55.959739 >     self.doIteration(t)
2013-06-13 15:12:55.959818 >   File "/usr/lib/python2.6/dist-packages/twisted/internet/selectreactor.py", line 109, in doSelect
2013-06-13 15:12:55.959892 >     self._preenDescriptors()
2013-06-13 15:12:55.959940 >   File "/usr/lib/python2.6/dist-packages/twisted/internet/selectreactor.py", line 88, in _preenDescriptors
2013-06-13 15:12:55.959988 >     self._disconnectSelectable(selectable, e, False)
2013-06-13 15:12:55.960065 >   File "/usr/lib/python2.6/dist-packages/twisted/internet/posixbase.py", line 256, in _disconnectSelectable
2013-06-13 15:12:55.960115 >     selectable.connectionLost(failure.Failure(why))
2013-06-13 15:12:55.960160 >   File "/usr/lib/python2.6/dist-packages/twisted/internet/tcp.py", line 514, in connectionLost
2013-06-13 15:12:55.960202 >     self._closeSocket()
2013-06-13 15:12:55.960267 >   File "/usr/lib/python2.6/dist-packages/twisted/internet/tcp.py", line 92, in _closeSocket
2013-06-13 15:12:55.960309 >     skt = self.socket
2013-06-13 15:12:55.960388 > exceptions.AttributeError: 'Server' object has no attribute 'socket'
2013-06-13 15:12:56.710453 > Traceback (most recent call last):
2013-06-13 15:12:56.710595 >   File "./run_p2pool.py", line 5, in
2013-06-13 15:12:56.710671 >     main.run()
2013-06-13 15:12:56.710749 >   File "/home/eule/p2pool-yac/p2pool/main.py", line 562, in run
2013-06-13 15:12:56.710823 >     reactor.run()
2013-06-13 15:12:56.710896 >   File "/usr/lib/python2.6/dist-packages/twisted/internet/base.py", line 1165, in run
2013-06-13 15:12:56.710971 >     self.mainLoop()
2013-06-13 15:12:56.711045 >   File "/usr/lib/python2.6/dist-packages/twisted/internet/base.py", line 1177, in mainLoop
2013-06-13 15:12:56.711119 >     self.doIteration(t)
2013-06-13 15:12:56.711188 > --- ---
2013-06-13 15:12:56.711263 >   File "/usr/lib/python2.6/dist-packages/twisted/internet/selectreactor.py", line 104, in doSelect
2013-06-13 15:12:56.711337 >     [], timeout)
2013-06-13 15:12:56.711413 > exceptions.ValueError: filedescriptor out of range in select()
Restarting p2pool fixes it until next crash, but that's ofcourse no solution. Never did much python stuff so i am pretty lost there. Undecided
hero member
Activity: 756
Merit: 501
June 13, 2013, 08:52:34 AM
Switched back aswell, hope it will finally work stable now. Thx for the link, didn't yet do the  /etc/pam.d/common-session thing but will try that too if the problem keeps happening.
sr. member
Activity: 324
Merit: 250
June 13, 2013, 08:38:00 AM
Got lots of those "too many files open" errors too, i did this:
nano /etc/security/limits.conf
added this:
* soft nofile 8192
* hard nofile 65536
We'll see if that worked.  Cheesy Sorry everyone mining at my node for the downtimes...
edit: nope, crashed again. /proc/sys/fs/file-max was at 2465517 already, so i switched back to the bitvolcano code.
I've switched back to the rav3n_pl code!

I fixed the too many files error with this....
http://posidev.com/blog/2009/06/04/set-ulimit-parameters-on-ubuntu/
hero member
Activity: 756
Merit: 501
June 13, 2013, 07:05:34 AM
Got lots of those "too many files open" errors too, i did this:
nano /etc/security/limits.conf
added this:
* soft nofile 8192
* hard nofile 65536
We'll see if that worked.  Cheesy Sorry everyone mining at my node for the downtimes...
edit: nope, crashed again. /proc/sys/fs/file-max was at 2465517 already, so i switched back to the bitvolcano code.
edit2: changed hard nofile to 65536 too, it should work now...
legendary
Activity: 1361
Merit: 1003
Don`t panic! Organize!
June 13, 2013, 05:55:27 AM
For those, who run on "too many open files" trouble (for ubuntu and similar):
1. check current value by "cat /proc/sys/fs/file-max" (my server have 814795)
2. increase it by "sudo mcedit /etc/sysctl.conf" and change "fs.file-max=xxxx" line (or use vi or any other editor instead of mcedit)
3. apply settings by "sudo sysctl -p"
sr. member
Activity: 324
Merit: 250
June 13, 2013, 05:28:39 AM
Well I've increased my limits and rejoined.

Fingers Crossed!
full member
Activity: 224
Merit: 100
Shitcoin Maximalist
June 13, 2013, 04:20:43 AM
Been much better for me since I switched so I'm staying with the rav3n_pl version.

I hit the "too many open files" thing a couple of times when I first switched, but I've increased these limits on the server and now its fine.
legendary
Activity: 1361
Merit: 1003
Don`t panic! Organize!
June 13, 2013, 01:36:43 AM
im just worried and can someone confirm how the new payment system is meant to work is it

10 blocks or is it shares submitted for ten blocks tallied up and then a lump payout is every 12 hours

or is it whichever comes first ten blocks or 12 hours?
It it not "new" Smiley
Pool pays for last 12hrs but up to 10 blocks in this time.
So if you mine hour and grab some valid shareas you will get pay up to 12hrs but max 10 blocks.
newbie
Activity: 56
Merit: 0
June 13, 2013, 01:30:32 AM
Looks like we catch some orphans Smiley
Those "doubles" seems to be found by different nodes/miners. Probably they have high GBT latency.
2 of them are relayed by 108.58.12.54

ohphans drunk on long island ice tea no doubt

but you would think our chain would have been trusted more

 but anyhow i really think we need to get everyone back into the one pool again
legendary
Activity: 1361
Merit: 1003
Don`t panic! Organize!
June 13, 2013, 01:24:38 AM
Looks like we catch some orphans Smiley
Those "doubles" seems to be found by different nodes/miners. Probably they have high GBT latency.
2 of them are relayed by 108.58.12.54
newbie
Activity: 56
Merit: 0
June 13, 2013, 01:18:31 AM
http://anonymouse.org/cgi-bin/anon-www.cgi/http://img12.imageshack.us/img12/7986/whatthefq.png


Whats going on here and none of us got a payout since block id 90347 untill block id 90670 which was when my payouts started again
im starting to get payouts now after caish5 said he left lol but i think thats coincidence

Im sure someone can explain this
sr. member
Activity: 324
Merit: 250
June 13, 2013, 01:11:46 AM
Mine went to a lot of "too many open files" errors
I changed back to my code which I know works solo.

So for now I'm disconnected from you guys again.
sr. member
Activity: 255
Merit: 250
June 12, 2013, 11:35:29 PM
is something going on with our nodes? the last 12 or so blocks are all orphans
newbie
Activity: 56
Merit: 0
June 12, 2013, 11:02:51 PM
Ok something dosnt seem right, pool efficiencies are way down and lots more red in the graphs

is this a problem or is there a logical reason for it

is it because the share time is longer, so the ratio of shares to DOA/orphans is closer so it looks bad but in actual fact the network is doing much better overall?

or is it these gpus throwing lots of rejects out there

im just worried and can someone confirm how the new payment system is meant to work is it

10 blocks or is it shares submitted for ten blocks tallied up and then a lump payout is every 12 hours

or is it whichever comes first ten blocks or 12 hours?
sr. member
Activity: 324
Merit: 250
June 12, 2013, 05:59:02 PM
OK
I'm connected up!
full member
Activity: 224
Merit: 100
Shitcoin Maximalist
June 12, 2013, 04:29:34 PM
Switched too, thanks rav3n_pl. Certainly seems like a massive improvement so far.  Smiley
newbie
Activity: 56
Merit: 0
June 12, 2013, 12:41:10 PM
My YAC node also crashed.
But, if you changing network options you should also change hexes and p2p port and DELETE current share chain.
I made some modifications and run my node
https://github.com/Rav3nPL/p2pool-yac
Try it if you want.
Best way to git clone it to new directory.
Changed:
- payout for 12hrs
- pay for up to 10 blocks
- share period 10 seconds
- diff retarget for 30 shares (5 minutes)
- my node as seed node
- p2p port 8337
- hexes to not mess another chains




Made the switch also.


for anyone wanting a smooth, quick transition, you can use the following commands

Code:
git clone https://github.com/Rav3nPL/p2pool-yac.git

rm -r yacoin-p2pool

cd p2pool-yac/yac_scrypt

sudo python setup.py install

cd

killall -g python

cd p2pool-yac

nohup python run_p2pool.py

close terminal and go back to eating icecream

Awesome luck its a good start Smiley 3 blocks in a couple mins haha
sr. member
Activity: 255
Merit: 250
June 12, 2013, 12:37:57 PM
Same. We just found the first 2 blocks in 3 minutes. Cheesy
yup sweet deal. now if we can get caish5 to come over with his 1.5 mhs rate we will be sitting pretty  Grin
hero member
Activity: 756
Merit: 501
June 12, 2013, 12:32:56 PM
Same. We just found the first 2 blocks in 3 minutes. Cheesy
sr. member
Activity: 255
Merit: 250
June 12, 2013, 12:18:38 PM
My YAC node also crashed.
But, if you changing network options you should also change hexes and p2p port and DELETE current share chain.
I made some modifications and run my node
https://github.com/Rav3nPL/p2pool-yac
Try it if you want.
Best way to git clone it to new directory.
Changed:
- payout for 12hrs
- pay for up to 10 blocks
- share period 10 seconds
- diff retarget for 30 shares (5 minutes)
- my node as seed node
- p2p port 8337
- hexes to not mess another chains




ok i cloned your git  Grin gonna see how this runs. so far so good no error

p2pool.dsync.net:21112

edit very good so far no error like before. very low doa 2% on my pool with 300 kHs
Pages:
Jump to: