Skip to content

Instantly share code, notes, and snippets.

View renatoc's full-sized avatar

Renato Castro renatoc

View GitHub Profile
@renatoc
renatoc / gist:fcaabeb9e7d6cfa2cb38
Created June 1, 2015 16:28
Disque Crash (Machine 2)
This file has been truncated, but you can view the full file.
[2015-06-01T15:58:11.538Z] (sys) Starting
2960:P 01 Jun 15:58:11.575 # You requested maxclients of 2000000 requiring at least 2000032 max file descriptors.
2960:P 01 Jun 15:58:11.575 # Disque can't set maximum open files to 2000032 because of OS error: Operation not permitted.
2960:P 01 Jun 15:58:11.575 # Current maximum open files is 1024000. maxclients has been reduced to 1048544 to compensate for low ulimit. If you need higher maxclients increase 'ulimit -n'.
2960:P 01 Jun 15:58:11.610 * Node configuration loaded, I'm fd44d7e5e007ef1504cadf0a8102511168644d69
Disque 0.0.1 (b5264359/0) 64 bit
_ -
. Port: 7712
. o . PID: 2960
.

Keybase proof

I hereby claim:

  • I am renatoc on github.
  • I am renatovfcastro (https://keybase.io/renatovfcastro) on keybase.
  • I have a public key whose fingerprint is 4DEC D7C2 83DE 9F4F F0D7 9ED1 07AC BFA7 6454 4EFD

To claim this, I am signing this object:

This file has been truncated, but you can view the full file.
[2015-06-12T09:34:05.047Z] (sys) Starting
3059:P 12 Jun 09:34:05.084 # You requested maxclients of 2000000 requiring at least 2000032 max file descriptors.
3059:P 12 Jun 09:34:05.084 # Disque can't set maximum open files to 2000032 because of OS error: Operation not permitted.
3059:P 12 Jun 09:34:05.084 # Current maximum open files is 1024000. maxclients has been reduced to 1048544 to compensate for low ulimit. If you need higher maxclients increase 'ulimit -n'.
3059:P 12 Jun 09:34:05.119 * Node configuration loaded, I'm e2e09bf0145674ccef3302675f63172d2ff68e71
Disque 0.0.1 (c6346975/0) 64 bit
_ -
. Port: 7711
. o . PID: 3059
.
root@ip-10-230-207-79:~/disque# git log -n 1
commit c6346975595b9ab4e390e21379bad725379620f5
Merge: 83362b2 12770bd
Author: Salvatore Sanfilippo <antirez@gmail.com>
Date: Thu Jun 11 11:26:34 2015 +0200
Merge pull request #79 from sunheehnus/cluster
cluster: fix oversights
root@ip-10-230-207-79:~/disque# make clean
root@ip-10-158-141-120:/opt/disque-test/tools# disque -p 7711 cluster meet 54.234.3.108 7711
OK
root@ip-10-158-141-120:/opt/disque-test/tools# disque -p 7711 cluster meet 54.234.3.108 7712
OK
root@ip-10-158-141-120:/opt/disque-test/tools# disque -p 7712 cluster meet 54.234.3.108 7711
OK
root@ip-10-158-141-120:/opt/disque-test/tools# disque -p 7712 cluster meet 54.234.3.108 7712
OK
@renatoc
renatoc / gist:63f133e4e93019a382d3
Created June 2, 2015 14:39
Machine 2( disque 7712) log
4682:P 02 Jun 14:27:34.724 # You requested maxclients of 2000000 requiring at least 2000032 max file descriptors.
4682:P 02 Jun 14:27:34.724 # Disque can't set maximum open files to 2000032 because of OS error: Operation not permitted.
4682:P 02 Jun 14:27:34.724 # Current maximum open files is 1024. maxclients has been reduced to 1048544 to compensate for low ulimit. If you need higher maxclients increase 'ulimit -n'.
4682:P 02 Jun 14:27:34.763 * Node configuration loaded, I'm 1464ba735bfa3451c366ecc1faf2a8ca9e309a13
Disque 0.0.1 (b5264359/0) 64 bit
_ -
. Port: 7712
. o . PID: 4682
.
- http://disque.io
@renatoc
renatoc / gist:4faacd7631e0a3888e85
Created June 2, 2015 14:38
Machine 2( disque 7711) log
4674:P 02 Jun 14:27:15.064 # You requested maxclients of 2000000 requiring at least 2000032 max file descriptors.
4674:P 02 Jun 14:27:15.064 # Disque can't set maximum open files to 2000032 because of OS error: Operation not permitted.
4674:P 02 Jun 14:27:15.064 # Current maximum open files is 1024. maxclients has been reduced to 1048544 to compensate for low ulimit. If you need higher maxclients increase 'ulimit -n'.
4674:P 02 Jun 14:27:15.103 * Node configuration loaded, I'm 2ffa71e35d1de4cb46980627e4a91f14b69624c4
Disque 0.0.1 (b5264359/0) 64 bit
_ -
. Port: 7711
. o . PID: 4674
.
- http://disque.io
@renatoc
renatoc / gist:177d565159a080fc54d3
Created June 2, 2015 14:38
Machine 1 ( disque 7712) log
5807:P 02 Jun 14:26:54.584 # You requested maxclients of 2000000 requiring at least 2000032 max file descriptors.
5807:P 02 Jun 14:26:54.584 # Disque can't set maximum open files to 2000032 because of OS error: Operation not permitted.
5807:P 02 Jun 14:26:54.584 # Current maximum open files is 1024. maxclients has been reduced to 1048544 to compensate for low ulimit. If you need higher maxclients increase 'ulimit -n'.
5807:P 02 Jun 14:26:54.620 * Node configuration loaded, I'm 8dc7709089eac376026c1d55f9edcf97eaf1b64c
Disque 0.0.1 (b5264359/0) 64 bit
_ -
. Port: 7712
. o . PID: 5807
.
- http://disque.io
@renatoc
renatoc / gist:fe91228ddc6ad17a4980
Created June 2, 2015 14:37
Machine 1 ( disque 7711) log
This file has been truncated, but you can view the full file.
5799:P 02 Jun 14:26:31.454 # You requested maxclients of 2000000 requiring at least 2000032 max file descriptors.
5799:P 02 Jun 14:26:31.455 # Disque can't set maximum open files to 2000032 because of OS error: Operation not permitted.
5799:P 02 Jun 14:26:31.455 # Current maximum open files is 1024. maxclients has been reduced to 1048544 to compensate for low ulimit. If you need higher maxclients increase 'ulimit -n'.
5799:P 02 Jun 14:26:31.491 * Node configuration loaded, I'm 19f940a1ab7abf79247ac56d57a04a605ccfe8c4
Disque 0.0.1 (b5264359/0) 64 bit
_ -
. Port: 7711
. o . PID: 5799
.
- http://disque.io
root@ip-10-109-145-106:/var/log/disque# cat /etc/disque/7711/disque.conf
# Disque configuration file example
# Note on units: when memory size is needed, it is possible to specify
# it in the usual form of 1k 5GB 4M and so forth:
#
# 1k => 1000 bytes
# 1kb => 1024 bytes
# 1m => 1000000 bytes
# 1mb => 1024*1024 bytes