What is the good value to set query_cache_size. I have set it to 60 M and here
is the status. Is it good? I am not sure how to check this? Can anyone explain?
query_cache_size=60M
mysql> SHOW STATUS LIKE 'Qcache%';
+-------------------------+----------+
| Variable_name | Value |
+-------------------------+----------+
| Qcache_free_blocks | 5 |
| Qcache_free_memory | 62666440 |
| Qcache_hits | 922 |
| Qcache_inserts | 381 |
| Qcache_lowmem_prunes | 0 |
| Qcache_not_cached | 565 |
| Qcache_queries_in_cache | 182 |
| Qcache_total_blocks | 400 |
+-------------------------+----------+
8 rows in set (0.00 sec)
I want to run flush query cache, saying once a week. Is there anyway to schedule it, so system can do it automatically? Currently, I have to login server, and run it manually
some vBulletin customers facing to that error message, with session table with attachment only. Other just work fine. It's not because of server load. The load is just around 0 - 0.1
I have increased wait_timeout to 200 and max_allowed_packet to 64MB. Each attachment file in those vBulletin is just around 1-3MB.
We have a dedicated server and we host 4 news portals based on e107 and joomla.
My partner on Sunday has upgraded mysql from version 4 to 5. Now the server experiences very high CPU usage and query time on portals has been increased very much.
We used to have query times lower than 1 sec for the main page of [url](which is a site that receives about 2000 visits/day) and now query times are 5-15sec !
Does anybody know if this is makes sense ?
Below is the server Status from WHM : -------------------------------------
cpdavd up cpsrvd up exim (exim-4.69-15.1_cpanel_maildir) up ftpd up httpd (2.2.11 (Unix)) up imap up interval up mysql (5.0.67-community-log) up named (9.3.4) up pop up rsyslogd up spamd up syslogd up Server Load 6.97 (1 cpu) Memory Used 49.4 % Swap Used 0.23 % Disk /dev/hda3 (/tmp) DMA+ 70 % Disk /dev/hda5 (/) DMA+ 22 % Disk /dev/hda1 (/boot) DMA+ 14 %
Below is the Server Information from WHM : ------------------------------------------ Processor #1 Vendor: GenuineIntel Processor #1 Name: Intel(R) Core(TM)2 Duo CPU E4600 @ 2.40GHz Processor #1 speed: 2394.068 MHz Processor #1 cache size: 2048 KB
I've got a problem with an SQL query that is behaving badly. Its probably really obvious, but I can't see the problem!
I have a table with 3 fields:
Code:
money bigint(20) income int(12) userID mediumint(7)
I have a row that has a negative money and a value of 0 for income. When I update the money value to add "0" to it, nothing happens (as expected). When I update the money field to add the income field (which is equal to 0) to it, MySQL flips the sign to make the money field positive.
The following queries show the problem:
Code:
mysql> SELECT money, income from users where userID=327961; +----------------------+--------+ | money | income | +----------------------+--------+ | -9223372036854775807 | 0 | +----------------------+--------+ 1 row in set (0.00 sec)
mysql> SELECT money, income from users where userID=327961; +----------------------+--------+ | money | income | +----------------------+--------+ | -9223372036854775807 | 0 | +----------------------+--------+ 1 row in set (0.00 sec)
mysql> UPDATE `users` SET money = money + income WHERE userID =327961; Query OK, 1 row affected, 1 warning (0.00 sec) Rows matched: 1 Changed: 1 Warnings: 1
mysql> SELECT money, income from users where userID=327961; +---------------------+--------+ | money | income | +---------------------+--------+ | 9223372036854775807 | 0 | +---------------------+--------+ 1 row in set (0.00 sec)
mysql> Notice that there is no negative sign after the third select!!
So, we are saying that executing an update where 0 is specified in the query results in the correct action but if you take the 0 from another field it takes the negative sign away...
This for various reasons is a rather urgent problem. This problem has only appeared after upgrading from MySQL 4.0 to MySQl 5.1. This problem does not occur in MySQL 4.1.
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.
I run a small Fan community / forum that I am looking to move to a VPS server as these are a little cheaper than Dedicated
I have a couple of questions & wondered if anyone could assist?
I need a Control panel as I have had experience with Plesk & Cpanel & do not have any SSH experience whatsoever
I see Cpanel offered in some VPS offers, Would this include things like Fantastico etc?
Would I better suited to a Managed or Unmanaged account? I assume seeing I have no SSH knowledge Managed account would be better
I had looked at a site called nameway dot com & like the look of their VPS offer but would love to hear other peoples thoughts on them (I haven't posted enough to post a url so site is www dot nameway dot com/resellers-hosting.htm )
If I were to go unamanaged or part managed if there is such a thing, would this mean I would have to upload things like apache for php, mysql etc? or would this still be standard in an unmanaged account if a cpanel or control panel is offered?
I have a feeling there's something not quite right with it
I ran DNSreport.com's query and it said there were a few problems which might cause slowdowns (Which is what i'm experiencing), but didn't go into any detail on how to fix it
They've now put in a fee for doing anymore dns checks, so i'm abit in the dark as to what to do?
Am just about to emigrate to USA (yay) and I want to keep my xxxxxxxx.co.uk domain active so I can recieve emails etc. I would also like to register a yyyyyyyyy.com domain.
Can anyone advise me on this please?
Can I host a .co.uk in the US?
Can I host a different .com and .co.uk on the same servers?
Can anyone recommend a good reliable, cheapish ($10-$20per month) host that provide MSSQL and asp.net 2.0 support.
I have a dedicated server with the 'typical' 2 ips pointing to the same instance of BIND on it for its nameservers.
I would like to actually have an ns2 to remove this single point of failure. Even though my 'infrastructure,' such as it is, is only a single server; my research on here and elsewhere suggests that this separate DNS server will make my site appear to be non-responsive when the server is down rather than simply non-existent. This is the behavior I would like to have!
I am still left with questions on implementing this. I know I need either a small VPS account, or an account with a provider such as DNSMadeEasy.com. What is not clear to me is how I would set up such an arrangement with the separate DNS server.
Does anyone have a link to a resource that shows how to do this, or would be willing to do a quick run through here?
I am not technically incompetent but am unfamiliar with this procedure and cannot seem to find documentation.
I've got 18 domains parked on it, with only 4 of those having active websites. There are 3 mailman lists set up, and a further 10 or so email accounts with SpamAssassin active on them.
It also runs cPanel/WHM.
The server itself has 384Mb RAM, with 512Mb burst.
Am I putting too much strain on the VPS with the amount of domains/emails I run through it? Is cPanel/WHM the problem? Is the server config suspect? Are VPS accounts only good for 1 or 2 domains?
I been logging queries for a whole 3 days and my logs is huge and the problem seems to be my phpBB search table thats causing such problems for me heres what I logged
Code: # Time: 070219 19:41:53 # User@Host: admin_db[admin_db] @ localhost [] # Query_time: 11 Lock_time: 0 Rows_sent: 0 Rows_examined: 13274745 SELECT word_id FROM phpbb_search_wordmatch GROUP BY word_id HAVING COUNT(word_id) > 259756;
Everything from phpbb_search_wordmatch takes more then 11 sec Query time.
How can I optimze this and lower the Query time to something like 1 or 2. Some adivce would be helpful me not that good with mysql.
I currently have my jimpix site hosted by a really good Canadian company called Alentus. BUT, they are based in Canada, and I'm based in the UK.
I am working on a site at the moment which will require a timetable / scheduling facility, so working in the 7 hour time difference between the UK and Canada is a pain.
The package I need is: ASP Hosting MySQL Hosting Use of ASPJPeg and ASPUpload Components
I've not been able to find a UK hosting firm offering these - or haven't spent hours looking for one, so wanted to check here if anyone could recommend a UK firm offering these - and a good one if possible! I have used other hosts before with other web clients, and some have been pretty ropey to say the least!
Is it possible to call a cron job with a query string appended to the file. I have no problem setting up crons in the cron tab..but i'd like the cron to fetch a url that looks something like
/home/php/some-file.php?a=1
is this possible directly through the cron job? I guess an alternative is call some php file that uses curl but i was wondering if there 's a direct way.
I've got mydomain.com using my own BIND nameserver hosted on a dedicated server.
I need subdomain.mydomain.com to have a dynamic IP. I know many dynamic DNS providers, but they all require you to change the nameservers of your domain to their own nameservers. Unfortunately I cannot do this - I need mydomain.com to keep using my nameservers.
I therefore need a way to get my nameserver to query a dynamic DNS providers' nameserver for subdomain.mydomain.com. Esentially my nameserver would just copy the IP that the other nameserver returns. Can BIND do this, or if not, any other name-server software?
I have a problem since yesterday in one of my servers, Im receiving between 200 and 300 hits by second from different IPs to a non existent path in a site, the hits are going to different cracks, films and download query's, this site is a directory and its not a warez or p2p site.
The site is onemilliondirectory.com, and I have suspended it because it was using a lot of resources of the first server, now its being redirected to other location, I have placed some traffic trackers to determine the referer or any other usefull info about the visitors, but the referer is always empty and I think that they are fake users because the statcounter tracker do not recognize the visits.
For example, some of the hits are:
Code: GET /suspended.page/?v=ABC%204%20KIDS%20Workshop%201.0.zip HTTP GET /suspended.page/?v=DecryptSQL%202.8.zip HTTP/1.1 GET /suspended.page/?v=[0]%20Msn%20Live%20Messenger%20Mobile.zip GET /inactive.html?v=Able%20Photo%20Slide%20Show%202.2.5.5.zip GET /suspended.page/?v=English%20Grammar%20Worksheet%201.4.zip GET /inactive.html?v=Karaoke%205%2030.zip HTTP/1.1 GET /suspended.page/?v=Nero%208%208.3.2.1.zip HTTP/1.1 Detail of one of the visits from the cpanel latest visitors tool:
Code: Host: 82.246.88.241 /inactive.html?a=Knowing.2009.TS.FRENCH.XVID-PaGlop.****.[emule-island.com].avi Http Code: 200 Date: Apr 07 16:39:54 Http Version: HTTP/1.1 Size in Bytes: 262 Referer: - Agent: Internet Explorer
I own a small company of 15 people who are all based remotely at their own homes throughout Europe.
Most of us are based in the UK and our web hosting server names.co.uk provide our email and web hosting service but we do not have an exchange server with them.
Now most of my colleagues own blackberry's which i just dont get on well with and I have my eyes set on buying a windows mobile device with Push email, namely the Sony Ericsson Xperia X1.
Anyway my query is this:
How do i go about getting exchange included to my hosting setup? Can another company host it or do i have to transfer my web hosting and email hosting to another company which facilitates exchange as well?
and there is a problem, because I do not get what I need. The result is: [URL] .....
The last / sing dous not even matter, because if I write the url without the ending /, the three dots are still removed.
It looks like everywhere in the url the (in regexp) .+/ pattern is replaced with a simple / sign.
The RewriteRule is very simple, I can not imagine it has anything to do with this, but it looks this:
RewriteRule ^(.*)$ index.php?p=$1 [QSA]
I started to log the rewrite and it looks like if the specific parts of the url are replaced before the rewrite got it.
These are the first few rows of the rewrite log:
add path info postfix: E:/web/service/szerz....odes -> E:/web/service/szerz....odes/action/axgetszerzodesar/ugyfelid/46402/termekid/46032/szerzodesszam/2012.01.01/ strip per-dir prefix: E:/web/service/szerz....odes/action/axgetszerzodesar/ugyfelid/46402/termekid/46032/szerzodesszam/2012.01.01/ -> szerz....odes/action/axgetszerzodesar/ugyfelid/46402/termekid/46032/szerzodesszam/2012.01.01/ applying pattern '^(.*)$' to uri 'szerz....odes/action/axgetszerzodesar/ugyfelid/46402/termekid/46032/szerzodesszam/2012.01.01/'
webserver: Apache/2.2.22 (Win32) PHP/5.2.17 and Apache/2.2.9 (Win32) PHP/5.2.17 (I refreshed it today because of this problem) os: win7 home premium sp1
It is tested on a linux os too, but there were no such problems.