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)
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 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
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.
Which VmWare product allows me officially to use it for VPS hosting business (ESXi does not allow that)? Do you have a link to document where they specifically authorize use of their software to make and sell VPS? Are there any legal limitations? What about vSphere standard?
What about Xen, what are limitations of free version? Which payed version is best for VPS hosting, are there any legal limitations?
I'm sure this has been covered before, but during my search I didn't find much, maybe someone can point me in the right direction.
Okay, so here's how it goes...
I, and a partner, plan on purchasing a 2U server and we're going to co-locate this server in Chicago. This server will be serving a new gaming company we plan on opening. Now, my main issue is obtaining Windows for this server. I have found plenty of retail CD's with like a 5 CALs included, but that was in the $750-$1000 range, which I understand this is what Windows server really cost, but I believe I could find it cheaper.
Does anyone know the BEST, and preferably the cheapest place to buy Windows Server 2003 (Specifically Standard 64bit - R2) or even an "external" monthly license, if such exist. I am new to the entire Windows Server licensing and pricing stuff, so any information would be very much helpful.
if anyone has an idea of which dedicated provider has the most reasonable prices when it comes to Virtuozzo licensing. I have looked at several and it seems prices vary.
I'm helping one of my clients setup some windows VPS's but we're having some serious confusion as to how the licensing works.
I've read on microsoft.com that they now are far more accepting of virtulization and allow, with a single license, anywhere from 4 to unlimited VPS installs with it.
Now, my question is: Does this count with leased licenses? Say I leased a license from my datacenter (say i did 2k3 STD) for $25/m. Would I then be allowed to install it on however many VPS's allow under MS without issue or how does that exactly work?
From the posts in this forum it would appear that a number of forumites are colocation service providers and web hosters that use Cisco gear.
I was reviewing the Cisco End User License Agreement that was included in the router box. Under the General Limitations section, "Customer shall have no right, and Customer specifically agrees not to:", item (iv) states, "use or permit the Software to be used to perform services for third parties, whether on a service bureau basis or time sharing basis or otherwise, without the express written authorization of Cisco".
Does this mean that a service provider is required to acquire a separate license similar to the Microsoft Service provider license?
My understanding is that the IOS software running in most of their products is non-transferable. So clearly this prevents a user from receiving updates if they purchase used hardware (i.e. ebay). However, isn't it possible to purchase an IOS software license from Cisco for any of their supported product?
Their web site is a mess! I've spent, literally, hours on their site trying to figure out how to purchase such a license, or how to purchase a service plan that might entitle me to IOS updates.
And how does "SMARTnet" fit into this puzzle? Do I need a SMARTnet contract to download maintenance updates, even for *new* hardware that I've purchased?
Can anyone give me some insight on how VPS licensing works with SPLA? According to my reseller, each VPS needs its own standalone license which seem to differ with what I read somewhere about Microsoft Server 2008 allowing up to 8 virtual stances with 1 license or something like that.
Forget everything you've learned about Windows Server "authenticated" and "unauthenticated" licensing for your monthly SPLA reports. The game has completely changed, and NOT for the better.
Microsoft has changed to "outsourcer" and "non-outsourcer" licensing instead.
Quoting Microsoft:
Quote:
"Outsourcing is an application or service that a service provider manages for their customer. For purposes of this definition, the managed application or service is: (a) Used by its customer's employees, contractors, agents, or vendors (b) Not the service provider's intellectual property
I contacted MS directly for clarification on how this applies to webhosting. The response was, if the service provider is (and I quote), "simply managing the infrastructure layer and not managing anything else... in other words just keeping the lights on", that is non-outsourced.
If you are providing any software or management of the environment, even something as simple as Windows Updates or other basic management tasks on the server-- which is the case, for example, if you are running a shared webserver, then it is "outsourced".
Your email server is providing a service that is considered an outsourced service, and you must report (and pay for) an "outsourced" license for that server.
And here is the bad news.
Under the old terms, the Datacenter edition of Windows Server (which allows unlimited VMs at no additional charge on the machine where the license is assigned) cost just under $50/month.
The new "outsourcer" Datacenter license is nearly $250/mo. Yes, you read that right, a whopping 400% monthly license fee increase for Datacenter edition.
A single copy of Windows Server Standard edition is over $75/mo. when used in the outsourcing role.
Other pricing and terms have changed as well, so grab a copy of the new SPUR and READ it. All it takes is a moment of uncertainty to put you wildly out of compliance under this new layer of insanity.
so let's get this all hashed out... it'll be interesting to see how people handle various situations.
Before responding, let's keep this thread signature free.
I recently came across an issue where a customer wanted to bring their own Microsoft products/licenses to the table. Got a few questions for the other providers out there... this really needs to be hashed out.
Microsoft is very strict when it comes to enforcing their license policies, we all know this much.
So... when a customer wants to install their own software, what do people do to help ensure that whatever agreement you have with your upstream provider or Microsoft isn't in voliation by allowing someone to bring their own licenses?
What steps do you take to ensure validity of said licenses?
How do you define, much less enforce, these guidelines?
What role, if any, should a provider play in doing their part to help stem illicit license abuse?
I bought Windows Vista Ultimate OEM and installed it on the physical machine, can I install Virtual Server 2005 and install the ultimate OEM version again on the VIRTUAL server 2005??
I run MySql but I hate to run it on the physical machine, want to run on a virtual machine.
if I have a dedicated server with WS2003, would I be allowed to install my own software (with license)? such as MS SQL Server - I have an MSDN subscription and multiple licenses.... would this be ok to do so?
What about Exchange Server? I have a License for that also...again, MSDN subscription