Reputation
492
Top tag
Next privilege 500 Rep.
Access review queues
Badges
5 13
Newest
 Necromancer
Impact
~211k people reached

  • 0 posts edited
  • 0 helpful flags
  • 123 votes cast
Dec
26
comment How to load balance sftp instances on AWS
Also, did you consider asking your vendor to support encrypted S3 uploads? Not hard at all…
Dec
26
comment How to load balance sftp instances on AWS
The biggest question is though, why do you want to load balance? If it's for HA, you will still have a SPoF in your haproxy. If it's for cpu requirements of ssh, that would be hard to believe, but a valid reason.
May
24
comment Is there a point in using Prelink anymore?
@astara true, but the growth in library use is not as fast as the growth in harddisk and memory speed.
Apr
18
comment DST Morocco, a way to trick NTP server
Upvoted because of craziness :) I'm happy I don't have to manage that! PS: Don't do 5, it makes systems think UTC is something it's not and that will likely break SSL.
Jan
21
comment How can I execute a bash function with sudo?
@ConspicuousCompiler thanks for the hint, done.
May
30
comment How do I sudo over sshfs?
ssh host sudo -v doesn't make my sudo happy - it wants a tty before it lets me sudo. Thoughts?
Jan
5
comment How to daemonize a shell task?
See serverfault.com/questions/311593/…
Aug
28
comment haproxy + stunnel + keep-alive?
However, if you need websockets then nginx will not work.
Jul
4
comment Port forwarding with DNAT and SNAT without touching other packets
Or I could combine the current SNAT rule with the mark right? Excellent, didn't know about marking!
Jul
3
comment Port forwarding with DNAT and SNAT without touching other packets
Thanks, in general you're right but in this particular case I actually I do want to NAT ;-). The routing is for private subnets and the port NAT has to appear to come from within the private subnet.
Feb
13
comment Cheap but Highly Available Shared Storage?
@FlorenzKley, hardly cheap but interesting, thanks :)
Feb
13
comment Cheap but Highly Available Shared Storage?
:-O Too localized? Is the group wanting cheap but highly available storage that small?
Oct
17
comment Keeping a linux process running after I logout
@JeremyVisser that sounds really plausible!
Oct
17
comment init script that logs output of the script
Sure, I meant like this: /var/customDaemon &> /dev/null 1<&- &
Oct
16
comment init script that logs output of the script
I would add a 1<&- in front of the final & so that stdin is closed for the daemon. Helps when starting it from the command line.
Oct
11
comment Monitoring ZFS-FUSE
Are both systems similar (memory/disk)? Are you using different features (compression/deduplication)? You can also try compiling it from source, see zfs-fuse.net and the alternative repositories it mentions.
Sep
19
comment Keeping a linux process running after I logout
And to be honest I don't really know why this daemonizes the thing you're running :-) It does work though, we use it in production. I discovered it while messing around hoping I could daemonize a process in shell without needing anything special - so I started by closing stdin and that was enough. I should go read some shell sources but I presume that if you close stdin and background the process, it also detaches the process.
Sep
19
comment Keeping a linux process running after I logout
When you do x<&-, that closes file descriptor x. In this case there is no x, which makes bash default to 1, i.e. standard input. If you use </dev/null you're not closing stdin, you're just giving an empty file to the program as input.
Sep
16
comment Keeping a linux process running after I logout
see my answer showing how to do it it with any sh-lookalike
Jul
30
comment need advice for storing data setup hardware for client with 80TB per year of data footprint increase
You know, sales blurbs are actually not very readable. A condensed version with the pertinent facts would have gotten a vote from me.