I just don't know how centos is using the memory but... I took a look at httpd conf, may be I've missed something when I type "free mem" in ssh the memory is increasing while I'm playing one video, flv and mp4 on my site. it is increasing each time I play a different videos either the same.
I am new to C and linux. My code below does arbitary writes but I cant figure out where or how it does it.
I am calling the insertNode() function with seq = 'MISSISSPPI$' and alphabets = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ$'
Code:
Weird behaviour I should mention is that when I check for NULL pointer in node->child[index], the unassigned values are not null anymore, they point to arbitary memory.
Created application is working too slow, looks like there are a lot of memory leaks, there are a lot of pointers. Any effective tool for run-time errors and memory leaks detection in Visual Studio C++?
I've set up OpenVPN on a Linux server. All my Internet traffic goes through the VPN from that server. I'm running Windows 7 at home. I noticed in Wireshark that DNS queries are not going through the encrypted tunnel, but instead directly to my ISP's designated DNS servers.
To overcome this, I tried pushing DNS for OpenVPN from the server to my computer, and also inputting the DNS address in my wireless adapter's configuration options. This appears to have secured the DNS leak, but is it the proper way to go about it? If I didn't push the DNS address from the server to the client and only set the DNS in the client's wireless adapter, then I couldn't visit any website. And if I just pushed the DNS but didn't set it in the adapter, then some DNS requests still leaked to the ISP's DNS servers.
I found this to be an interesting take on a problem which has plagued encryption since before the Internet:
Quote:
Popular online applications may leak your private data to a network eavesdropper, even if you're using secure web connections, according to a new paper by Shuo Chen, Rui Wang, XiaoFeng Wang, and Kehuan Zhang. (Chen is at Microsoft Research; the others are at Indiana.) It's a sobering result -- yet another illustration of how much information can be leaked by ordinary web technologies.
I am using malloc and frees a lot in my program. It shows its allocated but when i remove it doesnt show as the memory is removed(I am using the top command to view VIRT memory usage). If this continously grows what would happen to my program (Will it go out of memory?)
I have a computer with 16GB of ram. At the moment, top shows all the RAM is taken, (NOT by cache), but the RAM used by the various processes is very far from 16GB.I have seen this problem several times, but I don't understand what is happening.My only remedy so far has been to reboot the machine.
I just ran into a weird problem with a CentOS 5.5 64-bit server running VirtualBox 3.2.8 (I would run Vmware Server 2.0.2 if not for the well known fact that Vmware doesn't care about its Server line anymore and it doesn't run on CentOS > 5.3 without major splits). I currently have two guests in that VirtualBox setup, a CentOS 5.5 64-bit and a Fedora 13 64-bit. The CentOS 5.5 guest shows less memory available than configured. If, for example, I give the virtual machine 512MB of memory the guest OS only recognizes 380MB. If I give it 768MB it only recognizes 637MB, and so on. I don't have that problem on the Fedora guest - 1024MB configured, 1024MB available.
This is my first post in these forums. I'm still quite new to Linux (using Mint 9) so please bear with my not-very-articulate question(s)When I boot up and open up a tty terminal I get a message saying "Memory corruption detected in low memory." I've done an extensive google search about the issue and it seems not uncommon. I ran a memtest with no errors returned, so I'm sure that there's nothing really wrong with the memory; apparently it's a bug in the kernel that's causing this.
I found from command 'top' that 8GB memory are used. However, using command 'ps' with some options to grep the running processes and then summing up the memory used by the running processes are less than 2 GB. Where has the used memory gone ?
The problem seems to be a memory issue. Seems the problem only started happening after the last few updates. I have tested the memory with memtest and both servers passed. There hasn't been any new software put on the servers for over 12 months. Server 1 - 3 gig of memory CentOS 5.2 - Linux version 2.6.18-92.1.18.el5 (mockbuild@builder10.centos.org) (gcc version 4.1.2 20071124 (Red Hat 4.1.2-42)) #1 SMP Wed Nov 12 09:19:49 EST 2008 Errors in log
I ma porting an application from SUSE 10 Professional 64-bit to CentOS 5.3 x64 version. We have set the /etc/php.ini as in old server and set the maximum memory limit to 5GB (yes! We have ample of memory) for the process.It was working fine in old server but in new server, the Apache log always showed that it failed to allocate more memory for the application.We noticed that the error coming out while the application uses up to 1GB memory.Just wish to ask if the PHP in CentOS 5.3 has any restriction on memory usage?
i have installed kernel-xen to my centos 5.4 server ( with yum install kernel-xen ). My server has got 8192 mb pyschal ram with PAE kernel; but after i installed xen kernel to system, my ram is being 7919664KB....how can i fix this ? i want see 8192MB RAM with xen kernel
I installed new CentOS 5.5(X86_64) on my server. My server has 48 G RAM (12*4G) and can be found when starting server. Moreover, I installed dmidecode software to detect the memory. This software can find all the memory. I used command (top, cat /proc/meminfo) to check memory. Both commands can only find 33G RAM. uname -a command output like this: 2.6.18-194.el5xen #1 SMP Fri Apr 2 15:34:40 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux
I have xen kernel on a 5.4_64 though it seems to have always done this regardless of version. When I add a virt the control set shows the total machine memory minus what I just allocated to the new virt. This also shows up in the system monitor as total available ram. Problem arises in deleting and making new virts. The memory never reappears as usable after deleting virts. So now after testing several different setups I'm down to 1.4 gigs showing available on the dom0. What can I do to recover this lost memory? I've searched, read, looked every where I could think of and there just doesn't seem to be any information about deleting virts only adding them.
root@XXXXX:~# uname -a Linux myserver 2.6.18-194.11.4.el5 #1 SMP Tue Sep 21 05:40:24 EDT 2010 x86_64 x86_64 x86_64 GNU/Linux I'm having serious memory leak issues on a server running CentOS. Running 'top' I can't find any proccess with an unusual memory usage. Is there any other way to check what is using this memory? Right now it shows that I have 4.8GB of RAM used, but top shows only few proccesses, one with 4% and lots of 0.0%.
I have a web server with the specs below and my apache server is being a hog using all my RAM 7gigs or 8gigs of ram. When there is a rush of traffic at once my whole server crashes and I have to reboot apache. The way my site is set up I have a tube script and I use the tube script to host videos on my forum I have 1000 videos on the tube script. I brought a bigger server and more ram because of the down time I been having . I am really trying to figure out why its crashing and using so much ram. I installed eAccelerator didn't seem to help with the apache server.
Intel Quad Core Xeon X3430 (4 x 2.40 GHz, 8MB Cache) > 2-bay Supermicro Chassis and Motherboard > 8 GB REG ECC DDR3 (twice your current setup) > 250 GB Enterprise Grade SATA II > 10 TB Bandwidth 1gig Uplink Port > CentOS 64 Bit (Latest Stable)
TOP Command and free -m command screenshots are attached this is with only 160 people online at once
I have a custom-built machine running CentOS5.3 final x64. It has an AMD Dual-Core 64bit 3GHz processor. I have installed 8gb of DDR2 memory in the system, which the BIOS correctly reports. However, CentOS only shows ~5GB. What happened to the other 3??! I am using the machine as a VMWare Host, so every gig counts.Here's what meminfo says:
I have a server for virtualization (Xen) and when I do a free -m it does not show all the memory (which should be 64GB), it shows 32GB (a considerable difference, isnt it?).
My hardware is a Dell R410 server: Dual Xeon 5530 64GB DDR3 4x SAS 500GB in RAID 10
I tried to compile Xen 4.0.1 but I can't solve a compile error that it gives me (if you want to take a look: [URL]) that is the end of the compilation including the error. But, I installed Xen from yum directly after reformating the HD and it works fine now.
My kernel version: 2.6.18-194.26.1.el5xen x86_64 CentOS 5.5 64 bit [root@server1 xen-4.0.1]# cat /proc/meminfo MemTotal: 33554432 kB
I wonder why swap memory is not used! I also face auto-restart issue while running few tasks. Does it relate to the swap memory?
uanme -r -> 2.6.18-164.el5
I remember that my i have allocated about 5G for swap memory. However I put it into different partition and far away from root partition due to diskspace partition. Does it matter?
I do not know how to show the swap memory partition or partition map over here.
here is the mount output /dev/sda2 on / type ext3 (rw) proc on /proc type proc (rw) sysfs on /sys type sysfs (rw)
My Centos PC has got 1 gig of rams. I'm running a webserver with 2 websites and a mysql service. also i need to start two other programs, which uses ~300-350 mbs/each. My memory usage without them is around 450-500 without them. It was 100MB~ free with everything i need on a sec ago. I've refreshed those two sites and it was ~50 left. SO what, site refresh for each user takes 20 megabytes or something? Is there any way to lower the overall usage without turning off mysql, apache and the two other programs? If there is how? And about number read, it says in the top command on mem like 4.4, 1.2, 2.0, etc.
What does that mean? I thought it's like 2.0=20 megabytes, but it doesn't add up to 450-500 then. And by the way, swap memory is 0kb. I have no possibility adding more rams except paying more 5 dollars a month for another 512. 5$/month is a lot for me (sounds funny)? Check out my country, you'll have to rethink. Especially being a student with no possibility to find a job). As for webhostings, i cannot find anything for free, that I could host my wehsites with ping less than 100 actually. Or <80 if say, then it's php memory limit is too low for my WP blog needs.
I have been battling an issue for a couple of days and I have it down to 2 possibilities. Memory or mobo. A server in the DC is being very sketchy. Sometimes it will boot fine, sometimes it will boot but will not show all the memory, and sometimes it will hang before it even posts. I have replaced just about everything inside the system except for the memory and the mobo.
I would like to test the memory before replacing either because both are a few hundred dollars. The problem is, the memory doesn't log any errors and running a memory test with ubcd doesn't work because it's ecc memory. I thought I remembered hearing that there is a way to run a memory test during a Centos or RHEL installation, but I can't figure out how.
We had servers that worked fine for years. After updated them to the latest version of CentOS (5.2 with latest updates), they keeps on hanging when being scanned by PCI Verdors (a Credit Card security standard). Basically, the scan causes httpd process to eat up all memory, and the server becomes unresponsive. Normal operations resume after the scan stops for 5, 10 minutes. Output from top looks like the following:
After CentOS5.3 install to /sdb7 partition (on 2nd HD) and using Ubuntu Grub(on 1st HD mbr) to boot CentOS, I get "memory for crash kernel 0x0 to 0x0 not within permissible range" as soon as CentOS starts. I have 2G of ram. The message is on every boot. I've had several other linuxes on that partition without such an error message. Otherwise the OS starts fine. Is the message of concern/import?
it says this at start of boot:memory for crash kernell (00x00 'or something like that') not within permisiable rangeotherwise no problems for now, ewerything runs fine.