Skip to content

Instantly share code, notes, and snippets.

Renato Castro renatoc

Block or report user

Report or block renatoc

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View keybase.md

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:

View gist:9abaa7550b5c5b75bb9c
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
View gist:9c431377d67bd6ca4988
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
View gist:c99f91280f6216d8a1ee
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 Jun 2, 2015
Machine 2( disque 7712) log
View gist:63f133e4e93019a382d3
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 Jun 2, 2015
Machine 2( disque 7711) log
View gist:4faacd7631e0a3888e85
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 Jun 2, 2015
Machine 1 ( disque 7712) log
View gist:177d565159a080fc54d3
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 Jun 2, 2015
Machine 1 ( disque 7711) log
View gist:fe91228ddc6ad17a4980
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
.
View gist:5dab06e477fe12c2caac
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
View gist:917452f3c8f7bac2920c
root@ip-10-109-145-106:~/disque# make clean
cd src && make clean
make[1]: Entering directory `/root/disque/src'
rm -rf disque-server disque disque-check-aof *.o *.gcda *.gcno *.gcov disque.info lcov-html
make[1]: Leaving directory `/root/disque/src'
root@ip-10-109-145-106:~/disque# make noopt
cd src && make noopt
make[1]: Entering directory `/root/disque/src'
make OPTIMIZATION="-O0"
make[2]: Entering directory `/root/disque/src'
You can’t perform that action at this time.