Server :: Any Way To Prevent Fork Bomb On Server
May 1, 2010
I wanted to know is there any way to prevent fork bomb on a server or understand who did it and how did it I mean how to track reference of fork bomb and find out how does it occur ?
View 3 Replies
ADVERTISEMENT
Mar 18, 2011
So I am basically just curious about this, but is there a way to prevent fork bombs from bringing the system to grinding halt in Ubuntu, without setting hard limits on the resources available to users? I read about fork bombs on Wikipedia, and being the masochist I am (and not having any unsaved work), I tried entering those 13 characters into terminal. Wow. I have never seen a computer freeze up so fast.What really peaked my curiosity is that the same fork bomb has almost no effect on the performance of Mac OSX (10.6). I know that one can limit the availability of resources to specific users. Is that essentially what Snow Leopard is doing?
View 9 Replies
View Related
Feb 6, 2011
While Apache is off, then everything is OK, but if I start apache server after some time I get messages "Unable to fork: Cannot allocate memory" when trying to do some commands with ssh(dir,rm,top and so on).
P.S. There is free RAM when I get that message.
View 2 Replies
View Related
May 24, 2010
I'm presently writing software to keep my system time from drifting, it uses an external clock device.To verify it's accuracy I'm running ntpd as a server, and have another server monior the first as a client. This allows me to compare the offset with other 'valid' time servers.The problem is that the monitoring client keeps synchronising with my development server. How can I configure either the dev. server or the client so that it's time won't be selected as a good time source?The ntp.conf on the dev. server looks like:
Code:
server 127.127.1.0 # local clock
fudge 127.127.1.0 stratum 10
[code]...
View 1 Replies
View Related
Jan 4, 2010
I have a machine running on RH with 4G memory and 8G swap.Just now I'm having a problem when loging in with a user - just call it "userX" -.Each time I'm logged in I got a message Code:-bash: fork: ource temporarily unavailableAnd almost everytime I entered any command, it gives me the same warning. In some time (rarely) it will give me proper result, but almost any time it gives me the warning and no result.When I use 'top' command, it shows that I still have 500M free memory and about 8G free swaps. Plus the process for userX is less than 20 processes, and each of them are short processes (less than an hour, mostly just few seconds).As a note this problem only occur on userX, for any other user on the machine everything works just fine.
View 6 Replies
View Related
Jun 9, 2009
I have a user name is nicole. I want to prevent ssh connection for this user. How can i prevent ssh connection for this user?
View 9 Replies
View Related
Aug 19, 2010
I wish to create aliases to log into a server and go to a specific folder. For example, I have two aliases:
Code:
alias REP1='ssh me@server cd /REP1'
alias REP2='ssh me@server cd /REP2'
and of course, I'm disconnected after cd commands. I found no ssh option which prevents this disconnection to occur. I also tried the following trick:
Code:
ssh me@server "cd /REP; bash -i"
but it left me with a crappy shell (no color, directions keys printing ^]]A, ...)
View 4 Replies
View Related
Feb 15, 2011
I have a headless server, and I want to prevent GDM 2.30 from starting the graphical login on the console screen. As I use XDMCP, I still need GDM running on the server... With previous versions of GDM, I was doing that through gdmsetup, which ended with these lines in /etc/custom.conf :
Code:
[servers]
0=inactive
but it seems that it's not working anymore with 2.30...
View 5 Replies
View Related
Jun 2, 2011
I think this is the right place to ask my question so I'll just go ahead. Where I live we have frequent power anomalies such as outage and why I would describe as power resets resulting in power being cut and restored in a very fast delay, resulting in all electrical equipment in my house to reset and all computers to improperly shutdown and reboot. I don't know how many times my beloved Linux server was reset like this and every time reiser fs has to replay transactions and so far I've been lucky I did not lose any hdd or other components but I think this will happen sooner than later.
What I am searching for is a device that would protect my server, scanner, router and a few other small devices from power surges and anomalies that would result in hardware and equipment damage. What I also want from that device is the capability to continue powering the devices until they properly shutdown. I think a ups is what I am looking for but all models that I've seen are priced $400 up and that's over my budget.
What I also want is the capability to announce to the server that the device is running on batteries and that the server can initiate it's normal shutdown procedure.
View 14 Replies
View Related
May 23, 2010
how to prevent same user from ssh to multiple linux server at a same time , anyone of you have the script or how to do that ?
View 16 Replies
View Related
Apr 18, 2011
Is there a way to prevent users of an OpenVPN service from accessing restricted sites? I know this can be done through a proxy server but through a VPN there seems to be no way of preventing traffic from accessing porn sites or other as the traffic is encrypted. I am using a VPN in the same fashion as a proxy server except that the VPN is necessary because some video sites use rtmp on port 1935, which a proxy server cannot route.
View 7 Replies
View Related
Jan 7, 2011
We have the following server at collocation: [URL]
Provider's technicians were working for 3 hrs but finally were unable to set up hardware RAID1 on it.
What could prevent them from doing it? Is it difficult to set up RAID1? It is mentionned as basic function in specifications.
They said debian not booting after raid configured...
View 2 Replies
View Related
Mar 15, 2010
I�m looking into preventing the samba messages from appearing in the system log (/var/log/messages).I added syslog = 0 to smb.conf and reloaded the config but messages are still appearing�suppress logging or reconfiguremba such that the �nmbd� and �winbindd� messages do not appear in /var/log/messages
View 4 Replies
View Related
Nov 18, 2010
One of my ubuntu 10.04 boxes starts apache2 server automatically at boot. I know from the output of the command:
Code:
sudo /etc/init.d/apache2 status
I can't remember even setting that up, and I don't think it does so by default, since my other box in fact does not even have apache2 server installed. I can stop the server once I login, but is there a way to stop it from automatically starting the server, or even better, completely uninstall the daemon. I tried
Code:
sudo apt-get remove apache2
but that does not work. I guess the daemon is part of some bigger package.
View 2 Replies
View Related
Nov 21, 2010
Prevent flash from running threads in high priority
View 6 Replies
View Related
Apr 2, 2010
I have installed a linux server in my office to run 16 machines. Its main use will be a internal mail server but will be also running websites.
I have installed Ubuntu 9.10 server x64 and have got apache running.
I am looking for the simplest more robust solution for smtp, pop3 and imap. I have only ever used qmail before and found it a pain to configure and its getting old so I though I should probably try something new. I have not much experience with running pop3 or imap on linux so would love a suggestion on that.
View 4 Replies
View Related
Sep 29, 2010
have to create a webhost on an running fedora server which runs multiple webpages + a coldfusion serveri have to add an coldfusion virtual host to these.what i would do:*crate a new user & group*enter vhosts.conf and copy an existing host and modify it for the new one.*create an new folder and copy the main files (phpstarter and webroot) *chown the files for the right useri think an apache graceful would be needet
View 1 Replies
View Related
May 5, 2011
Right now i have a HP DL 180 Server with 130 Gb Hard Disk & 8 Gb ram after Raiding0+1. i want to configure Domain Controller Server for my office for 200 to 300 Users. what should the partition size must be mentioned in my 130 Gb Hard Disk, is that going to be Sufficient for ME ?
i am bit confused about /Usr /Var /Boot partitions, as i need to manage perfectly in 130 GB
if i go with 4 Gb swap and remaining for " / " is that will be fine ? should i need to specify partition sizes separately for / tmp /var / usr ..
View 3 Replies
View Related
Apr 21, 2011
I'm running a linux cloud server with the following config
1.2ghz Processor allocation
752MB Ram
The site loads slow and clicking a link almost freezes the page for a second. Also, the page loads could be much faster. We've been running mysqltuner and have pretty much optimized all slow queries. Is there anything we can do to fine tune the server for faster and more responsive?
Httpd.conf
Timeout 20
KeepAlive Off
MaxKeepAliveRequests 100
KeepAliveTimeout 5
<IfModule prefork.c>
code....
View 2 Replies
View Related
Jun 21, 2011
iam trying to sync file server data into backup server machine by command- rsync -avu path/of/data ipaddress-of-backup-server:/path/where/to/save after running it ask for root password and manually it is successful.but i want to make it automatic.for that i also tried cronjob and also generated authentication key but iam not successful in login automatically..anybody know how to authenticate root to login for storing data in backup server.
View 14 Replies
View Related
Jan 25, 2011
I will be relocating to a permanent residence sometime in the next year or two. I've recently begun thinking about the best way to implement a home-based network. It occurred to me that the most elegant solution might be the use of VM technology to eliminate as much hardware and wiring as possible.My thinking is this: Install a multi-core system and configure it to run several VMs, one each for a firewall, a caching proxy server, a mail server, a web server. Additionally, I would like to run 2-4 VMs as remote (RDP)workstations, using diskless workstations to boot the VMs over powerline ethernet.The latest powerline technology (available later this year) will allow multiple devices on a residential circuit operating at near gigabit speed, just like legacy wired networks.
In theory, the above would allow me to consolidate everything but the disklessworkstations on a single server and eliminate all wired (and wireless) connections except the broadband connection to the Internet and the cabling to the nearest power outlets. It appears technically possible, but I'm not sure about the various virtual connections among VMs. In theory, each VM should be able to communicate with the other as if it was on the same network via the server data bus, but what about setting up firewall zones? Any internal I/O bandwidth bottlenecks? Any other potential "gotchas", caveats, issues? (Other than the obvious requirement of having enough CPU and RAM).Any thoughts or observations welcome, especially if they are from real world experience in a VM environment. BTW--in case you're wondering why I'm posting here, it's because I run Debian on all my workstations/servers (running VirtualBox as a VM for Windows XP on one workstation).
View 14 Replies
View Related
Feb 16, 2010
I have got a running mail server on CentOS5.4 Final using Zimbra free edition. . Assume that domain is organization.com.local And it is running fine with users created and bugzilla running on the same machine can send mails using this server. But it can obviously send messages to the internal users. There is this option to configure it to use external mail server to send mails outside the network but my external smtp server needs an authentication.Is it possible to configure it this way to use my external server to send mails from internal domain to say gmail?
View 15 Replies
View Related
Jan 6, 2011
i recently installed apache2 mysql php exc. to run a realtime stat site for my servers.the only thing is that the buttons/ images are not showing up.i checked that my GD was up to date and installed perl5 GD. dont know what else to check.my site with problems go to:http://24.20.177.228/stats_public
View 2 Replies
View Related
May 24, 2010
I am working on linux server with below specifications.Linux EDT 2008 i686 i686 i386 GNU/LinuxWhile checking the status of the server using the command 'opmnctl status' and when server is down the output is not getting redirected to file.I m using the command as,opmnctl status > abc.txt.
View 2 Replies
View Related
Jan 8, 2011
i have been trying to complete the following project1) Configure a FTP server where we can upload and download files.........2) server must run at 9 pm & stop at 9 am automatically ............although the first task was easy ,i have no idea how to accomplish the 2nd task(not to mention I'm a new user)
View 5 Replies
View Related
Aug 21, 2010
I've two internet based server ( xx.xx.xx.xx and yy.yy.yy.yy ) The Y server is running VNC server and is responsible for answering to VNC sessions. But I need to hide the IP of Y server so I want X server to be as VNC Proxy and redirect all VNC sessions to Y server.
I guess the best way is to use iptables but actually I can't get it working so
View 4 Replies
View Related
Feb 7, 2011
I'm trying to setup RAID 1 on a CentOS 5 server for a zimbra email server.I get a partion schema error. Can I do this?The server is a HP Proliant ML150 G3 server with two 80GB HDD.
View 1 Replies
View Related
May 18, 2010
Im new in linux i want to configure my redhat machine as both router and transparent proxy!
View 1 Replies
View Related
Jan 9, 2011
uslookup command is giving me an error.otherwise dns is working ok.when i try to look for server from client using.
Code:
I got the following error :-
Code:
But
Quote:
Is working fine.
I think there should be problem in reverse zone file so i am posting my reverse zone file.
Code:
What is meaning of this error?
View 14 Replies
View Related
May 29, 2011
i am trying to send malformed string into ability ftp server in order to have some unexpected crashes. i login in into the ability ftp server on my window 7.On my virtual machine,i am working on a backtrack 4, i tried to send some string to have some unexpected crashes, but i couldn't success.here is the code:
PHP Code:
#!/usr/bin/python
import socket
[code]...
View 14 Replies
View Related