3,433 reputation
21431
bio website
location Kathmandu, Nepal
age 25
visits member for 3 years, 10 months
seen 21 hours ago

Linux enthusiast.


Jul
10
comment Getting rsync failures randomly
No i first copy the artifacts, and then i run the tests. I am often getting these errors in different pipelines.
Jan
31
comment Randomizing the source port for new connections
@slm: same thing i tried .. somehow didnt work :(
Jan
29
comment Load Balancing among multiple virtual network interfaces
Thank you patrick for your answer. I modified the ip route command to use source port instead of destination ip as the method of load balancing.
Jan
29
comment Load Balancing among multiple virtual network interfaces
Thank you for the reply but in this case you are hardcoding the destination ips . I dont want to do that .. I want to say lets say packet 1 to IP 1.1.1.1 through eth0:0 and packet 2 to IP 1.1.1.1 through eth0:1
Jan
29
comment Load Balancing among multiple virtual network interfaces
@Patrick: Actually whenever i try to create a new routing table(alternate) and add a route saying ip route add default dev eth0:0 table alternate, it picks eth0 instead of eth0:0
Dec
25
comment Apache2 does not run on IPv4 tcp port
Can you post the output of sudo iptables -nvL and sudo sestatus ? I think you have some local firewall which is preventing.
Dec
24
comment Apache2 does not run on IPv4 tcp port
Try changing the Listen 80 to Listen 0.0.0.0:80. You can refer to the documentation httpd.apache.org/docs/2.2/bind.html for more information.
Nov
12
comment OOM Killer - killed MySQL server
@frostschutz: yes, free command shows 64G.
Nov
6
comment The netcat command can't access an open port
@ThinkerTailorSoldier: centos comes with default iptables rules which blocks all connections coming to any port other than 22 port.
Nov
5
comment The netcat command can't access an open port
@ThinkerTailorSoldier: Did you try iptables -F command and tested ?
Oct
21
comment Faster way to delete large number of files
@kurtm: Thank you for the explanation. But i saw remarkable difference between the two commands, is the number of fork() syscalls is the only difference between the two ?
Oct
21
comment Faster way to delete large number of files
Actually the command which @Gnouc mentioned worked faster. I dont know the reason how it works faster.
Oct
21
comment Faster way to delete large number of files
Can you explain me why this runs faster the command i mentioned. I noticed that it works faster.
Aug
2
comment /proc/cpuinfo showing zero cpu clock speed
@val0x00ff: Here is the output of lscpu: pastebin.com/7UnCpnHc ,same here as well.
Aug
2
comment /proc/cpuinfo showing zero cpu clock speed
@val0x00ff: I am running Debian Linux 6.0
Aug
2
comment /proc/cpuinfo showing zero cpu clock speed
@val0x00ff: Here is the output of the command which you asked: pastebin.com/jFqYZBgz
Jul
29
comment strings command printing some extra characters
Thank you very much Stephane. :)
Apr
12
comment bash if statement behaviour question
Yes, $? is the only way to find out the return value.
Apr
4
comment Modifying resolv.conf when when bringing network interface up on system startup
I think you can try redirecting the stdout & stderr of that command to redirect to some file to know why the resolv.conf is not getting updated on bootup.
Apr
4
comment Open source MySQL performance tool
@jasonwryan: Sorry for that.