64-bit executables

Post support questions that relate to the Windows 2003/2000/XP operating systems.

Moderators: Developers, Moderators

Post Reply
User avatar
ARC1450
Cacti User
Posts: 104
Joined: Wed Jun 24, 2009 9:42 am

64-bit executables

Post by ARC1450 »

I've got a nice Cacti install going on a 8-core box with 16GB of RAM.

All goes decently, except I cannot used any more than about 4 GB of RAM because the programs (Apache, PHP) are 32-bit executables. Now, normally this wouldn't bug me, but when using boost I start getting to that 4GB limit and PHP/Apache sometimes gets very unhappy using more RAM.

Does anyone have any resources where I can push the Cacti install to total 64-bit?
[color=black]mount -o protected -t voluptuous,selfmaintaining /dev/woman /mnt/me
Attitude is no substitute for competence
See through faded, super jaded, out of my mind[/color]
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Re: 64-bit executables

Post by BSOD2600 »

Until the Apache and PHP groups provide official x64 binaries, they cannot be included in the Windows Installer. Yes, there are unofficial x64 builds of each you can try though...
User avatar
ARC1450
Cacti User
Posts: 104
Joined: Wed Jun 24, 2009 9:42 am

Re: 64-bit executables

Post by ARC1450 »

Ahhh, okey dokey.

Have you had any success with the unofficial builds?
[color=black]mount -o protected -t voluptuous,selfmaintaining /dev/woman /mnt/me
Attitude is no substitute for competence
See through faded, super jaded, out of my mind[/color]
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Re: 64-bit executables

Post by BSOD2600 »

My Cacti installation at work is small enough, I'm not pushing the 32bit limits so haven't tried.
User avatar
ARC1450
Cacti User
Posts: 104
Joined: Wed Jun 24, 2009 9:42 am

Re: 64-bit executables

Post by ARC1450 »

All righty.

Have you tried PHP 5.3.x with 0.8.7i? If it's a minor switchover with no real bad things happening, I might try using the 64-bit downloads and see what happens, but if it is too much of a pain, forget it.
[color=black]mount -o protected -t voluptuous,selfmaintaining /dev/woman /mnt/me
Attitude is no substitute for competence
See through faded, super jaded, out of my mind[/color]
User avatar
BSOD2600
Cacti Moderator
Posts: 12171
Joined: Sat May 08, 2004 12:44 pm
Location: USA

Re: 64-bit executables

Post by BSOD2600 »

If you go with php 5.3, also upgrade to mysql 5.5. Yes, Cacti works with both of these versions.
User avatar
ARC1450
Cacti User
Posts: 104
Joined: Wed Jun 24, 2009 9:42 am

Re: 64-bit executables

Post by ARC1450 »

Hey, guess what?

This exercise was absolutely pointless! PHP can't allocate more than 4095M. As soon as you try to tell it to allocate 4096M, it crashes.

Come to find out, the conversion is done with 32-bit integers, even in an x64 compiled binary.

https://bugs.php.net/bug.php?id=54201

So, good thing I didn't install 64-bit binaries. . .it wouldn't have done any good anyhow. :(
[color=black]mount -o protected -t voluptuous,selfmaintaining /dev/woman /mnt/me
Attitude is no substitute for competence
See through faded, super jaded, out of my mind[/color]
Post Reply

Who is online

Users browsing this forum: No registered users and 3 guests