Compiling httperf on Mac

I wonder if anyone can tell what is happening? After you failed through the trial version and compilation error all day, I have httperf that compiles and runs, but cannot connect to anything. Now it forbids "httperf: cannot open google.com".

I assume the problem is setting the maxfiles maximum limit, but I have no idea why. I had to do ulimit -n because httperf kept barfing using "httperf: could not increase the number of restrictions for an open file". (The homebrew version I installed a long time ago is also barfs with this error).

If you look at the source, the open() system call fails. What for? What for??? https://github.com/httperf/httperf/blob/ab2b96b0f5988c790de5cbc757dfd928c728f4da/src/conn.c#L65

Mac OSX version is 10.9.5.

My steps:

 sudo launchctl limit maxfiles 65535 65535 ulimit -n 65535 git clone https://github.com/httperf/httperf cd httperf glibtoolize --force aclocal autoconf autoheader automake --force-missing --add-missing mkdir build cd build ../configure make make install cd ../ autoreconf -i 

Uggghhhhhhhh.

+5
source share

All Articles