Tag Info

Hot answers tagged

8

Per process memory on 32-bit systems is 4GB (which is divided into 3GB for the process and 1GB for the kernel, by default). If you want your database to be able to access more memory /per process/ you have little choice but to install a 64-bit operating system. If the limit of 3GB per process is not bothering you, you might as well stay with the current ...


6

Most modern 32-bit CPUs support PAE which allows them to address more than 4GB of physical memory, although a single process can only see 4GB at a time. The kernel will take some of this address space. This Stackoverflow post discusses how PAE works. Many operating systems (including Linux and MS Windows) offer an API that allows you to manipulate the ...


6

Do: ls -al /var/lock/subsys Look for mysql.pid. Remove that. Also remove mysql.sock if it exists. If all else fails, [as root] use updatedb ; locate <filename>. This is your friend in situations like this. Try restarting MySQL using the init script. If that doesn't work, restore to a database checkpoint from an acceptable backup of the database. ...


3

Your question is impossible to answer. Perhaps the previous admin installed the MySQL with some other way than the official one? Perhaps he just googled for the init script and manually copied it to /etc/init.d? There's no way to know what happened, unless you have some kind of audit logs.


3

I'm nearly in the same scenario as you (http://serverfault.com/questions/25758/is-there-any-reason-to-use-64bit-mysql-and-os-on-small-databases), and from what I could find out: MySQL on 32bit can not use more than 2GB RAM per instance no matter what you do with your kernel. If you're not running MySQL the situation might be different.


3

According to your iptables -nvL output, you have a rule to drop all traffic coming in eth1. This is likely your issue. The rule youre trying to add uses -A INPUT, so it appends the rule to the end of the chain. Given that there are other rules in your -nvL output that arent in your script, I'm guessing you have some other rules that are being applied ...


3

Slackware hasn't been requested for support, and its not one that anyone at Opscode uses, so Chef doesn't currently support Slackware (version 0.9.12). It needs two things for this to happen: Detection of Slackware via Ohai Platform-specific providers in Chef::Platform For the former, the platform plugin would need to determine somehow if the system is ...


3

Look into NoMachine NX Free Edition. It will provide an optimized remote session over SSH and has clients for Macintosh, Windows and Linux. http://www.nomachine.com/download.php


3

I think it would be better to ask the question, "Why would I stay with a 32-bit kernel?" I went all 64-bit on every piece of hardware that supports it as soon as I could and I have no regrets. At work we are running PostgreSQL servers on 64-bit CentOS 5 with 32 GB RAM and it is pretty great (Except for certain limitations with PostgreSQL itself, but ...


3

What do you mean by "I installed the newest version of cairo without any problems". Did you install a slackware package or did you untar a pre-built archive or did you compile it from source? I suspect that you did either one of the latter. If you merely downloaded a archive and untarred it somewhere, the package manger would not know. Ditto with source ...


3

From dhcpcd manpage: <ConfigDir>/dhcpcd-<interface>.info file in which dhcpcd saves the host information. The word <interface> is actually replaced with the network interface name like eth0 to which dhcpcd is attached. The default ConfigDir in Slackware 12 is /etc/dhcpc


3

You will probably find that ps on slackware is showing you the individual threads for each process. Threads in Linux are basically separate processes created using clone() rather than fork(), which leaves them with the same address space. On a 2.6 kernel, ps can usually detect which processes are threads and which aren't. Perhaps slackware has a slightly ...


3

According to the man page, inserting a precedence value in gai.conf disables the all the other default rules. Try setting all the rules as listed in RFC 3484 (10.3): Prefix Precedence Label ::1/128 50 0 ::/0 40 1 2002::/16 30 2 ::/96 20 3 ::ffff:0:0/96 100 ...


2

From http://www.php.net/manual/en/features.commandline.introduction.php: The name, location and existence of the CLI/CGI binaries will differ depending on how PHP is installed on your system. By default when executing make, both the CGI and CLI are built and placed as sapi/cgi/php-cgi and sapi/cli/php respectively, in your PHP source directory. You will ...


2

what accounts have an open connection to the mysql-server ? mysqladmin processlist how often they request a new connection ? Not sure - try the General Query log - but I suspect it may not record connections - only queries how many requests they usually do per connection ? See above. It would be nice if I could aswell identify the codes ...


2

If you want to provide DHCP from A Client, you should not use Bridged Networking but Host Only. Indeed except if you want your Client A to offer DHCP Leases on your whole Lan, you shoud edit every VM and choose Host-Only Networking. By this way you will be able to make your vms interact the way you want. Before that you will need to disable the DHCP on the ...


2

The main danger of running on a 32 bit system with lots of highmem (more than 8GB) is that the kernel could end up needing to allocate more data than what fits in ZONE_NORMAL. This means the machine can effectively run out of memory, even if there were still lots of high memory free. Another issue is that the system will more aggressively reclaim kernel ...


2

With any server, if the service fails you lose access. If SSH is failing, I'd be concerned about configuration mistakes or hardware issues. Adding another service isn't a solution for this problem. If your server is real hardware, consider setting up an external serial console and using that as the kernel's console interface. If its a VM, the hypervisor's ...


2

Seems to have been a misunderstanding. Mpstat prints avg's since system boot if it is not given any args, the documentation seems to have been a little unclear in its workding. To get one set of current statistics the command mpstat 1 1 can be issued, however it takes one second to return with the proper data.


2

These are the instructions for use with the Ubuntu ISOs. It looks like KVM has to be started with special options for the cdrom, then once the installation is complete, it has to be stopped then restarted normally. Did the host tell you that it wasn't possible at all, or perhaps there's a problem with the ISO that makes it unbootable? Did you have them ...


2

64-bit is the only way. On 32-bit, it's an inventive hack to get to >1GB, and an even bigger hack for >4GB.[1] You say it's a heavily loaded system, so why waste cycles in a bodge to get to memory when it can be mapped directly? The only reason you should use 32bit is for vendor support. As you're on Slackware, I doubt that would be a reason. [1] See, for ...


1

From here: "SELinux isn't inherently dependent on PAM or kerberos. If your system is not using PAM, then you'll need to adjust the configure options in utils/Makefile and the flags in the newrole and run_init Makefiles. Likewise with the configure options for kerberos in utils/Makefile. But I can't really recommend that you proceed down this path. Porting ...


1

I felt although this is an older question, it needs another answer. It seems to me Puppet is, out of the box, almost completely capable of managing Slack boxes. The only issue I've seen is package management...namely, there is no support for slackpkg/slapt-get/swaret/etc. Anyway before I ramble on too long, I think facter (from my understanding, the Puppet ...


1

As I understand it, you have two sites. The Postfix server is at site A, and all users can use it normally. However, from site B, users can send mail only within the domain and not elsewhere. The short quick answer is to add the IP address(es) of site B to the mynetworks variable in main.cf. A slightly longer answer: Postfix makes it relaying decisions ...


1

Forbidden You don't have permission to access / on this server. Take a look at Apache error log, it will tell you more details. Both. The public side is at 80, the admin/intranet side is at 8080. For the testing purpose, add 2 hostnames into the /etc/hosts: 127.0.0.1 public.example.com 127.0.0.1 private.example.com Change the Listen from: ...


1

After the rc.S, the init will run the rc.M if run level 2,3,4 or 5 and rc.K if run level 1... you can try to run in single (ie: runlevel 1) to see if it boots slackware 10.1 is old and might not be ready enough to run a 3.0 kernel... but you can try to debug it better, it might some missing feature on the kernel or some util that you needs update edit the ...


1

64bit + more ram, if you're using innodb then set your inndb_buffer_pool_size to about 70-75% of your total system ram. Tune cache sizes. If you're using recent versions of MySQL set your /tmp directory to use tmpfs (memory) which will allow MySQL to create temp tables in memory rather than on physical disk. Make sure MySQL is then configured to use /tmp ...


1

ipv6 isn't really my area of expertise, but on the man page for resolver(5) there seems to be a few options in /etc/resolv.conf that could be related: options inet6 sets RES_USE_INET6 in _res.options. This has the effect of trying a AAAA query before an A query inside the gethostbyname(3) function, and of mapping IPv4 responses in IPv6 ...


1

Client A: eth0(VMnet0) Bridge setup (internet) eth1(VMnet4) custom network with no hosts, bridges, local dhcps from vmware Client B and C: eth0(VMnet4) custom network with no hosts, bridges, local dhcps from vmware With the above setup i could merge the VMs networks with Client A allowing it to distribute the ips and internet to them. With the ...


1

So it looks like some type overflow attack at first glance. It my systems, i regulary use an iDS,IPS (intrusion detection/protection system) Attacks like this are usually mitagated by a good ruleset(similiar to antivirus). It filters the traffic in realtime and checks for matches, finally if matched performs the specified operation (e.g DROP) A ...



Only top voted, non community-wiki answers of a minimum length are eligible