It's recommended to make thread_concurrency = Number of CPU's x 2. But this is really effective with latest mysql5 versions? [url] Default 10 Range 1-512
Why to set it to 8 (4 cpus), for example, if recommended default value is 10? And why to set such a low value if range is till 512?
Also, how to check assigned value as "show variables;" command omit this value.
I had a program (APF, actually) install its executable file in /usr/local/sbin/, so I went to add that directory to my PATH variable in .bashrc. I'm able to type commands to executables just fine in other directories, but for some reason I keep getting "command not found errors" from bash when I type in the name of the executable (apf), even when starting/restarting new instances of the shell. Here's my current PATH variable in .bashrc - have I overlooked something? # Customize the path directory PATH=/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/sbin:~/bin:
First off about myself: I'm your typical knows-enough-to-get-by web design CMS flash type guy. Nothing special no real training but if I need to run a control panel I probably can.
What I need: I'm moving an AM station(oldies) to online streaming and need a host for it. The variable here is the only reason I'm moving the station is because a radio show on it which runs 1 hour every weekday needs to expand our audience and all that good stuff. We'll be expanding the show as far as we can hopefully within the next year and on certain days we'd have more listeners due to having higher profile guests on.
However, since we have the stream 3 other shows on the radio station have offered to pay for the costs(we had to get a cable line run to the station in the first place)- presumably they would have a lower listener rate.
The question is what's the best solution here? We don't want to pay for a 2000 slot shoutcast service right off the bat, but we also need one who can rapidly expand our slots as needed, or possibly have one which just charges based on use. When we get up to high volume would it be smarter for us to just lease an unmetered dedicated server (high assumption of 1000 listeners(which is months off) for 3 hours a day running at 128k bit-rate the bandwidth really starts to add up) or a dedicated server that just charges based on usage. The latter may even be cheaper than using the high-priced-slot-based shoutcast stream servers.
I figure someone out there has already done the research can might know an answer to the problem. The key here is flexibility- no point paying $90-300/month for a dedicated server the first month if we're only getting 200 listeners on our show and 50 for the other shows but if we somehow experience a surge in listeners we don't want to be stuck at a low cap.
I am writing a rewrite rules using mod_rewrite module. I have the same data repeating all over the rules that I would like to replace with variable and set variable once at the top of rules then use variable in the rest of rules. Then if I need to add another IP address I would just add additional IP address to the variable instead like now need to change several rules.
For example I have IP addresses that I would like to set as a variable.
Now rules are the following (simplified) in httpd.conf:
RewriteEngine Off RewriteCond %{REMOTE_ADDR} (192.168.5.20|192.168.7.15|10.10.20.50
PROBLEM DESCRIPTION When triggering the events 'Mail account created' or 'Mail account modified' the returned variable NEW_MAILBOX will always state TRUE regardless of the mailbox option being ticked or not ticked on the 'New mail account' option located on the 'Mail' tab of a subscription.
STEPS TO REPRODUCE 1: Log in to plesk. 2. Select 'Tools & Settings' 3: Select 'Event Manager' 4: Select 'Add New Event Handler' 5: Select Event 'Mail account updated' 6: Enter in '/usr/bin/php /root/scripts/dbmail/mail_mod.php' to the Command box.
[Code] ....
ACTUAL RESULT
[NEW_MAILBOX] => true
EXPECTED RESULT
[NEW_MAILBOX] => false
ANY ADDITIONAL INFORMATION
I submitted this with parallels support and they stated that the variable NEW_MAILBOX will always return as TRUE regardless of if the mailbox option is ticked or not. They also stated the NEW_MAILBOX variable will be true regardless of any action taken on the panel with mail accounts. The actual documentation on this variable is very sparse
Component name/description Old component value New component value Mailbox old_mailbox new_mailbox
We previously had some code that would trigger on this variable and would create a mail account on our mail server with or without a mailbox.
if (!strcmp(getenv('NEW_MAILBOX'),"true") && !strcmp(getenv('OLD_MAILBOX'),"false")){ //Create a mailbox on the external mail service } if (!strcmp(getenv('NEW_MAILBOX'),"false") && !strcmp(getenv('OLD_MAILBOX'),"true")){ //Create a mail forwarder on the external mail service }
At some point this variable has stopped working with newer versions of plesk. Having a variable that is always true regardless of what is done when creating a mail account seems pointless and requesting a new feature that was already there in older versions doesnt seem like something that should be requested on a new feature request.
QUESTION: Is there anyway to get this functionality restored other than requesting it gets re added via [URL] ....
I am having a problem with YUM on Fedora 5, for a long time it has not worked saying there is nothing to update when I know there is, I have tried to correct this by following a forum post of someone having the same problem, now I have really messed things up...
When I type any yum command (yum, yum --version, yum check-update etc) I get the following error:
Traceback (most recent call last): File "/usr/bin/yum", line 28, in ? import yummain File "/usr/share/yum-cli/yummain.py", line 29, in ? from yum import logginglevels ImportError: cannot import name logginglevels
perhaps removing it and installing the latest version of Yum would help however tried that and it seems to make no difference, perhaps I am doing it wrong?
i have problem in my linux server that i have aserver with 5.2.4 apache and many scripts not working after that i upgraded to php 4.4.7 so all scipts all over my server are working but not loging with any user and pass just as u make refresh to the page this problem in all forums and scripts in my server i need quickly solution please my customers are confused
We recently setup a server with 4 gigs of RAM and installed Fedora core 7 32-bit version in it. After installing the OS, I have found that Fedora is able to detect only 2 GB and not 4 GB of RAM. I installed the kernel-PAE and kernel-PAE-devel modules and restart the server and made sure that the the OS with the PAE switch starts at boot time. However, the OS still does not detect the 4 GB RAM. Any idea what else can be done apart from installing the 64-bit OS in the system?
OS: FRESH install of Unix Fedora Core 6 Kernel Version: Kernel 2.6.18-1/2798.fc6 on an i686 Hardware Information: Brand new Dell SC1435 Server Software Version: MySQl 5 Control Panel: cPanel
A few things I did already..
#yum install mysql-server && service mysqld start Nothing to do mysqld: unrecognized service
#rpm -qa | grep mysql libdbi-dbd-mysql-0.8.1a-1.2.2 mysql-connector-odbc-3.51.12-2.2
#ps -ef | grep -i mysql root 15299 15114 0 16:55 pts/0 00:00:00 grep -i mysql
I don't see the mysql.sock file. What I can do to further troubleshoot this issue?
My server was just upgraded to FC6 and now I do not have pico for a editor. I found nano but there is problems. Screen does not refresh correctly and when I type in charaters sometimes extra charaters show up.
Are there any other screen editors built in to FC6 (not vi)
I have a problem with one of the servers since the morning, DNS is down and trying to start it giving failed message.
I'm using Fedora 5 CPanel 10.9.0-S119 named (9.3.3rc2) with installed Packages: bind-9.3.3-0.2.rc2.fc5 / bind-devel-9.3.3-0.2.rc2.fc5 / bind-libbind-devel-9.3.3-0.2.rc2.fc5 / bind-libs-9.3.3-0.2.rc2.fc5 / bind-utils-9.3.3-0.2.rc2.fc5 / binutils-2.16.91.0.6-5 kernel-2.6.18-1.2257.fc5
Error Message:
Quote:
root@server [~]# service named start Starting named: Error in named configuration: zone alexaian-d.com/IN: loaded serial 2006040201 zone al-jan.org/IN: loaded serial 2006073101
named.conf file
Quote:
root@server [~]# cat /etc/named.conf include "/etc/rndc.key";
I have bought a PowerEdge 2900 Quad-Core Xeon E5345 2.33 Ghz Processor 2GB FB 667MHz Memory 146 GB SAS hard drive PERC 5/i integrated RAID Controller Card
I have installed Fedora Core 6 on this.But somehow it fails to work.It keeps hanging anytime anywhere.
Can anybody help me know whether this is compatible with each other?
I tried closing some services and work it,but the attempt was in vane.
I have googled alot over this and cant get it worked.
I also tried to install from different CDs,but no luck.
get my development box set up running LAMP. I have Fedora 7 currently installed but don't really know much about setting up the environment to host multiple sites (development purposes only), getting Phpmyadmin set up, etc. I'm used to typically doing my dev with with apache2triad on Windows but would much rather be working on a Linux box for development as i do my hosting in a Linux environment as well.
grep: /etc/yum.conf: No such file or directory grep: /etc/yum.conf: No such file or directory Your operating system's rpm update method (yum) was not able to locate the glibc package. This is an indication of an improper setup. You must correct this error before you can proceed.
On my desktop I keep up with the Fedora life cycle by upgrading via DVD every six months or so, and I am currently running Fedora 9. By contrast, my hosted VPS based on OpenVZ/CentOS is still providing me with a Fedora Core 5 virtual environment. I used to keep up with FC5 updates via yum until FC5 maintenance ended, long ago. Question: is it possible to upgrade from Fedora Core 5 to Fedora 9 via yum and without any intervention on the current underlying VE by the VPS host? If so, how would I do that?