Windows 2003 Eaccelerator Cache Cleared Randomly
Mar 31, 2008
I have successfully installed eaccelerator on my win2k3 box and it is working great. The problem I am having is that every so often the cache files are mysteriously cleared. I know that the cache is cleared when apache is restarted but I have not restarted it and the files still go missing after a period of time. I have the ttl values for ea set to 0 to disable them.
Here is the ea ini in php.ini:
extension="eaccelerator.dll"
eaccelerator.shm_size="64"
eaccelerator.cache_dir="C:Cache"
eaccelerator.enable="1"
eaccelerator.optimizer="1"
eaccelerator.check_mtime="1"
eaccelerator.filter=""
eaccelerator.shm_max="0"
eaccelerator.shm_ttl="0"
eaccelerator.shm_prune_period="0"
eaccelerator.shm_only="0"
eaccelerator.compress="0"
eaccelerator.compress_level="9"
eaccelerator.allowed_admin_path = "D:WebsitesThe Family Garrisoncontrol.php"
I am running php as php-cgi.exe with MS fastcgi enabled on a 32bit system.
View 2 Replies
ADVERTISEMENT
Feb 1, 2007
how big I should set the cache size for eaccelerator?
Here's the information from the control.php
Caching enabled yes
Optimizer enabled yes
Memory usage 100.00% (16.00MB/ 16.00MB)
Free memory 0.00MB
Cached scripts 148
Removed scripts 0
Cached keys 0
View 1 Replies
View Related
Apr 9, 2009
I'm sure all of you who use eaccelerator know how big the cache can get and that it needs emptied manually. Well at least to my knowledge it does, the only thing I have seen that you can configure is the shm pruning. If anyone does know such a feature with eaccelerator please share. But I also notice a performance decrease and a few php errors mostly related to memory allocations here and there.
Anyway I was piddling around and came up with a command to disable eaccelerator from php.ini, delete the cache folder and then enable it back. I figured this would be good as a daily cron. I would like some input if anyone knows any better ways.
So I wanted to share this in case someone else here has the same problems with eaccelerator cache folder getting huge. If anyone knows a way to make this better or shorter please reply with solution.
Of course this will vary depending on where your php.ini is and where your eaccelerator cache is. Just replace those values with yours. I'm sure there is also a way to use similar commands to find and input these values, again if anyone knows please share.
Code:
find /usr/local/lib -name 'php.ini' | xargs perl -pi -e 's/extension="eaccelerator.so"/;extension="eaccelerator.so"/g' ; rm -rf /usr/lib/php/eacc ; mkdir /usr/lib/php/eacc ; chmod 4777 /usr/lib/php/eacc ; find /usr/local/lib -name 'php.ini' | xargs perl -pi -e 's/;extension="eaccelerator.so"/extension="eaccelerator.so"/g'
View 4 Replies
View Related
Oct 2, 2008
I was actually curious about this since Windows 2008 version came out.
What is the difference between Windows media services on Windows 2003 and Windows 2008?
View 5 Replies
View Related
Mar 27, 2009
I have a fair ammount of load on the server, and I want to cache as much as possible to reduce disk IO. The harddrive is a major bottleneck for performance. The server serve a lot of files larger than 10MB, so I want to cache as much of the files below 10mb as possible.
First off I want to cache around 200k thumbnail files, where around 1000 new gets added every day.
Secondly it would be preferred to cache dynamic files in a way that the file timestamp is checked at a regular interval, and then read again if timestamp has changed.
Is there any free solutions on windows with apache for this?
View 5 Replies
View Related
Nov 17, 2008
Any company rent Windows Server 2003 Web Edition ?
SPLA and External licenses ?
With Micfrosoft need pay 2,000$
I wait your answerds.
View 3 Replies
View Related
May 26, 2009
With Windows 2003 server, there are comprehensive lists of what you need to do to secure the server before use. For Windows 2008, I wonder is there such a list? Or is it true as what I heard from Microsoft that it is already secured out of the box?
Anyone has any resources on the hardening or preparation of 2008 for server hosting uses?
View 1 Replies
View Related
May 8, 2008
I'm making a reasonably uninformed comparison here. Since Windows Vista is noted to be more resource intensive and slower than Win XP, are we right in assuming that Windows 2008 is slower than Windows 2003?
For instance, with two boxes with an identical hardware setup but the two different server OSes, will the same application like, say MySQL run slower on the Win 2008 machine?
View 14 Replies
View Related
Apr 30, 2008
Does anyone have a recommendation for the eaccelerator eaccelerator.shm_ttl setting? If it was left at the default of "0", this means no newer scripts would ever be cached once the memory is full. Or would it do additional caching on disk as well and not show up in the phpino.php file?
We have alloted 32 Megs of Ram for eA. Maybe something like this would help move some old scripts out of the cache?
eaccelerator.shm_ttl="86400"
eaccelerator.shm_prune_period="0"
View 0 Replies
View Related
Oct 30, 2008
Is there hosting that use windows xp rather than windows server 2003? What is the advantage of using windows server2003 anyway?
Most of the time I just need to run some programs that need huge bandwidth. If I want to host sites, I'll just use xamp.
I think windows xp license is cheaper.
View 12 Replies
View Related
Apr 24, 2013
I use apache with CentOS VPS hosting for my blog. I only host one blog in this VPS account. I have 1.5GB RAM and I have 7, 500 page preview per day. My page loading time is 2-3 seconds (according to the pingdom tool).
I want to know what is the best performance (faster web page loading) W3 Total cache option for VPS hosting blog. Currently I use Disk to enhance for page cache and database cache for disk.
View 2 Replies
View Related
Jan 16, 2008
how to setup a vpn on windows 2003 web edition server?
I have setup ras, and letting me to login to the server using PPTP, but its not allowing me to route the Internet using the connection there.
I m having One NIC card, and as far i know its possible to route public network too.
View 3 Replies
View Related
Mar 5, 2007
I was contacted by a small company manager who want to setup an online common work place for his employees.
He needs a Windows server with the possibility for up to 10 users to connect remotly and share files and software.
Do you think that Windows 2003 is compulsory for such basic needs? I want to go with Windows XP because it is less expensive.
View 4 Replies
View Related
Aug 17, 2007
on the server I have ASP access sites and ASP with SQL server sites.
When I load the sites they are fast, but then after a random period of time, I click a link but the page just sits there saying waiting for host, I can refresh but no difference, then all of a sudden the site will start working again and be fast until the next time.
Does anyone know why the site can be fast then sort of just hang for a while and if so, any suggestions on fixing this would be brilliant.
View 4 Replies
View Related
Mar 22, 2007
Can I configure windows 2003 to use multiple IPs?? Is it necessary to have a separate ethernet connection for each IP? Loopback, does it help? What about Linux?
View 7 Replies
View Related
Apr 23, 2007
I am trying to find a firewall for windows 2003 64 bit edition. So far I have tried Visnetic, which doesn't work, and comodo will not even have a beta version out until May. Anyone know of another that will work on 64 bit windows?
View 3 Replies
View Related
May 11, 2009
I am running a server with Windows Enterprise 2003 installed, it has 32GB RAM installed but in control panel I can only see 15.5GB RAM, I understand graphics cards etc will take some of the RAM so I suspect Windows is only seeing 16GB, instead of the installed 32GB, anyone any idea as to why I do not see all 32GB.
View 9 Replies
View Related
Jan 9, 2009
i wanted to buy a dedicated server and when i had questions about 2003 web, i talked to hivelocity live support and i think it was dave who told me that Windows 2003 web has a restriction for mysql which was 512 KB. I myself is planning to own a gameserver that uses java and mysql and i know for sure uses much much more space than 512 KB. Is this true that 2003 restricts the size of your DB and when your DB reaches 512 kb, it can no longer be used? Also, is the windows 2008 web licensing fee the same as windows 2003 web?
View 7 Replies
View Related
Jun 9, 2009
My client have a windows 2003 Sever, we install xampp there to run his site because he gave us hosting information late on and we done all his work in mysql php,
so every thing is working but the main problem is this that queries are not going through email.
i don't know how can i set his mail setting.
View 3 Replies
View Related
Jul 8, 2009
I have a Windows 2003 Server with DotNetPanel.
Server have old hardware, and I want to change complete server to a new hardware, but saving all current data, users, configurations, etc...
I don't want to use backup and restore utility of DotNetPanel, because is very slow.
I want to do a complete migration of data, users, configurations, etc...
I see Parangon Software, that allow this, but I need to see more options.
View 1 Replies
View Related
Apr 12, 2008
In exception, I add ports (21,110,25,3389,80) all the ports work good, in Appearance.
I use MailEnable. When I visit the webmail for example webmail.mydomain.com I can't see it.
Do you have any idea what is happen?
What port is necesary?
View 11 Replies
View Related
Oct 19, 2008
I'm sure there is an easy answer to this, and i'm probably being a little lazy, but the google searches i did didn't really help.
As I need to have windows hosting, apart from the price, is there any difference between setting up the server with windows 2003 standard edition and web edition?
I want to run MS SQL and My sql databases, run asp, .Net 2 and php on the server.
I'd also want to connect with RDP which i'm assuming is fine.
Most of the searches seem to talk about the fact that you can't set up active directory,or making it a domain controller but not much else.
View 2 Replies
View Related
Jul 21, 2008
I would like to get a windows 2003 or 2008 dedicated server to run some software and give some friends hosting locally.
Can someone please explain what must be done and HOW (win server newbie here) *after* the intial o/s install?
- dns setup (how, ns1/ns2, etc)
- apply IP range assigned to server
- serious security (the big one)
View 6 Replies
View Related
Apr 5, 2008
This is my first dedicated and I am plugging away at it.I am running windows server 2003 web edition and I have my database, website, and ftp setup and everything is working so far. Now if you go to 66.96.196.102 my site that I'm working on will show up. My question is my domain and site that I am in the process of moving is hosted on a shared server on 1and1. Now I need that domain to point to that ip. Do I need to set up name servers on the server? If so can someone point me in th right direction.
View 8 Replies
View Related
May 25, 2008
When we login our windows 2003 server and download some file / or run any process, whatsoever ; and then we log off the server.
The download / process, ends itself.
How can we keep running the download or any process, even when we log off?
View 7 Replies
View Related
Apr 24, 2008
We have two Windows Server 2003 machines as active directory controllers and DNS servers for our in-house operations. For our purposes, let's say the domain name is example.com.
Both servers have DNS, and example.com is stored in Active Directory to allow us to use the benefits this provides. Our issue is probably simple, but I'm not sure how to fix it.
Let's call server one EX1, and server two EX2. These have local IPs of 192.168.1.111 and 192.168.1.112, respectively.
We want example.com to be resolved to an external IP address (for web hosting), let's say 1.2.3.4. The problem is, the two domain controllers keep registering example.com with their internal IP addresses .111 and .112, so the DNS round-robins between 1.2.3.4 and the two internal servers, which aren't web servers.
Is there a way we can get those DNS controllers to stop registering their internal IPs as example.com?
View 1 Replies
View Related
Mar 5, 2008
I noticed very strange file permission behaviour, which not always intherid child permission from parent. Detailed problem description is below.
I have "c:File" directory with IUSR permission.
If I run one .NET application(exe) from Administrator account and try to create new file with that application in c:File directory, the newly created file with that application do not has IUSR permission.
If I run notepad and save txt file into that directory, it has IUSR permission.
Can anyone explain what is going on? Why file created with first .NET aplication do not inherit permission from folder?
View 1 Replies
View Related
Jul 28, 2008
I've gone through 3 servers lately, upgrading each time. All three have been linux this far, but I'm really not accustomed to it and don't like running on something I'm not familiar with.
On the other hand, I'm very familiar with Windows 2003.
So, what are your experiences running a vbulletin forum website with windows 2003? Any huge security flaws with Win2k3 compared to CentOS? Would I be able to use SSH to tunnel and remote desktop into the Win2k3 box? It'd be so refreshing to be able to use a gui instead of command prompts.
I see a quad core with 8gb for under $150 right now, compared to my current dual core with 2gb of ram I think it'd definitely be a huge improvement.
View 5 Replies
View Related
Jan 23, 2008
Some of my factory guys can log on the same user name at the same time, so I want a situation where a user name may be able to log on, one at a time.
in case this forum cannot treat this, kindly direct to another site.
View 2 Replies
View Related
Feb 18, 2008
is there any huge difference between the two?
I'm primarily going to use the server for gaming.
After researching, the only thing I saw was that Web only supports up to 2GB of ram.
View 3 Replies
View Related
Apr 25, 2007
Has anybody faced problem in installing Windows 2003 SP2 over SP1? I want to know what problem can be faced before I start with the SP2 installation.
View 9 Replies
View Related