CentOS 5 :: PHP Memory Restriction In 5.3?
May 16, 2009
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?
View 1 Replies
ADVERTISEMENT
Apr 29, 2010
cannot restrict share access to a single user. I've played with the security and valid users options in the smb.conf and I can get it to mount if I remove the valid users option, but this does not provide the access restriction I need. I also left it open and tried making the folder permissions rwx for backupadmin only and that didn't work. I'm using a credentials file which I include below, but I've tried manually entering them in the command too.
[root@aaphst02 /]# mount -t cifs //aapsan01/aapxen01 /mnt/aapxen01 --verbose -o credentials=/root/smbcreds
mount.cifs kernel mount options: unc=//aapsan01aapxen01,ip=10.0.1.34,user=backupadmin,ver=1,rw,credentials=/root/smbcreds,pass=********
[Code].....
View 3 Replies
View Related
Apr 18, 2010
I am trying to determine if I should upgrade PHP's PEAR on my server. I am trying to check the version of PEAR currently installed. I am getting the following error when I use the pear -V command:
Warning: realpath(): open_basedir restriction in effect. File(/tmp) is not within the allowed path(s): (/usr/share/pear:/usr/share/php) in System.php on line 459
I tried adding /tmp to my php.ini file, but then when I use the pear -V command it doesn't do anything. I do not get any errors or anything. I am also trying to install symfony and have the same situation described above when I use the following command: pear cannel-discover pear.symfony-project.com
View 8 Replies
View Related
Aug 27, 2010
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.
View 13 Replies
View Related
Sep 23, 2010
This is my problem,i need to give some user from other machine to my machine where they can get my data,but i want to give them only one dir where they can download file and i'm trying to use scp to this solution
Code:
[root@malick ~]# ssh -V
OpenSSH_3.9p1, OpenSSL 0.9.7a Feb 19 2003
View 9 Replies
View Related
Nov 9, 2010
I have a Name-based virtualhost website in Apache, what i want to do is to disable direct ip access to the site and allow only through web address (www.mysite.com, and not through xxx.xxx.xxx.xxx). Or at least show a default page / not found page
I presume this can be acomplished with Mod_Rewrite and .htaccess but i just wanted to know if there is a more global option for this
I have googled this a lot but i can only find posts related to ip host restriction rules, which is not what i want
View 3 Replies
View Related
May 6, 2010
Is it possible to prevent the panel from expanding to where the -ox buttons appear on a full sized window. I use the panel hide pref with the panel not fully extended to the width of the scree. If the panel gets too big then it drops down each time I click to close the window. I would like to limit the overall length of a panel. Is it possible?
View 3 Replies
View Related
Jul 7, 2011
I just launched an instance on EC2, and everything seems work except the IP restriction by .htaccess. My .htaccess is only:
Order deny,allow
Deny from all
Allow from 88.246.163.6
And it doesn't restrict access.. What am i missing?
View 3 Replies
View Related
Jun 1, 2011
recently i was raised my question about external and internal emailing using one domain name.Now i have another question about restriction.I can able to set email account and permit only local and external
now my question this kind of setup external and internal one thing i've noticed is that using prinzz1@domain.com(local only) was able to receive email from outside.is it possible to block all outside email if the prinzz1@domain.com is local only?
View 11 Replies
View Related
Jun 22, 2011
i m using centos 5.6 x86 give us guideline if possible, we have squid transparent proxy, the ip is set 10.0.1.85, this is as gateway we enter in window client pc to browse. now we want to block some website so we try below two method does not work, can you check if anything wrong in this, we enter this all starting of file squid.conf.
View 3 Replies
View Related
Jan 22, 2010
I've got this in my Apache2 config (on a Ubuntu 9.10 server):
Code:
<VirtualHost _default_:443>
DocumentRoot /srv/svn
<Location /repos>
DAV svn
[Code]....
When I comment out the "allow from" line, I have no access to this server at all, but when "Allow from 127.0.0.1 172.23.120" is activated, I can also access that location from other IP's (I can even access it from the internet).
What I really want is access limited to the IP's in "Allow from" because I don't want anyone accessing our subversion repo's from anywhere else.
View 5 Replies
View Related
May 21, 2010
I am using sendmail. I want to apply sendmail restriction so that nobody cannot send any mail to other domain.my domain name is msp.net
E.g. 1. rahul.com 2.kumar.com
I want to send mails only above two domain only.if any user want to send mail to other domain. It should be not reach. What should I change in sendmail.mc or in my firewall?
View 2 Replies
View Related
Mar 18, 2010
I have a problem with my CentOS installation, it only recognizes 6GB installed RAM. If I check dmesg it outputs this:
[Code]...
how to reach full RAM capacity? CentOS is installed on HP DL160 G6 server and memory module positioning is correct.
View 6 Replies
View Related
Jan 12, 2010
is it possible to limit the size of a specific folder independent of user or group? I want to restrict /var/log to a total size of 1GB. I don't think that the common approach to create a 1GB partition is the right way since it is possible that I want increase or decrease the limit in the near future.
View 3 Replies
View Related
May 19, 2010
I am having trouble accessing social networking sites like orkut due to govt restriction.
View 1 Replies
View Related
Jan 20, 2011
I want to implement squid with quota restriction based on username.
View 4 Replies
View Related
Dec 4, 2008
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
[Code]...
View 5 Replies
View Related
Jan 12, 2010
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
View 4 Replies
View Related
Mar 8, 2011
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
View 1 Replies
View Related
Jul 28, 2010
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.
View 5 Replies
View Related
Jan 24, 2011
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%.
View 9 Replies
View Related
Jul 30, 2011
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
View 6 Replies
View Related
Feb 17, 2009
Cent OS 5 support 8 GB Memory on a 32 Bit System?
View 4 Replies
View Related
Sep 27, 2009
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:
# cat /proc/meminfo
MemTotal: 5976376 kB
MemFree: 39552 kB
Buffers: 43204 kB
View 7 Replies
View Related
Dec 8, 2010
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
[code]....
View 7 Replies
View Related
Feb 14, 2011
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.
View 2 Replies
View Related
Feb 27, 2010
I found out that my CentOS 5.4 linux does not use any swap memory! here is the #top output:
top - 10:02:49 up 27 min, 5 users, load average: 4.22, 3.45, 2.24
Tasks: 173 total, 4 running, 166 sleeping, 0 stopped, 3 zombie
Cpu(s): 71.1%us, 26.1%sy, 0.0%ni, 0.2%id, 0.0%wa, 2.7%hi, 0.0%si, 0.0%st
Mem: 3081388k total, 1729216k used, 1352172k free, 69544k buffers
Swap: 5140760k total, 0k used, 5140760k free, 865316k cached
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)
[Code]....
View 2 Replies
View Related
Mar 20, 2009
My server [URL] goes down in some cases.
On general time load average is 0,15-0,2 Only http(with php) and mysql working on it.
Here are some screens when the server goes down: [URL]
Here are the same bug with mine described: [URL]
View 5 Replies
View Related
Jul 14, 2010
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.
View 12 Replies
View Related
Apr 30, 2011
Linux 2.6.18-238.9.1.el5
Apache 2.2.3
MySql 5.0.77
PHP 5.3.3
Samba 3.5.4-0.70.el5_6.1
Problem: my server eats up all the memory in the box after a few days. My guess is it has something to do with these processes:
[Code]...
View 7 Replies
View Related