Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change
 
PerlMonks  

"Out of memory!" -- make test and Net::SSLeay

by Flame (Deacon)
on Oct 26, 2003 at 20:30 UTC ( #302258=perlquestion: print w/ replies, xml ) Need Help??
Flame has asked for the wisdom of the Perl Monks concerning the following question:

Greetings all,

I come before you with yet another question that betrays my ignorance of the inner workings of Perl and *NIX. I have been trying for the past two days to install Net::SSLeay so that, in turn, I could install IO::Socket::SSL. Unfortunately, I find myself running aground during 'make test' and unable to determine how to procede.

Complete transcript of 'make test':

Executing make test .. + make[1]: Entering directory `/tmp/.webmin/Net_SSLeay.pm-1.25/Net-SSLea +y-Handle-0.50' make[1]: Leaving directory `/tmp/.webmin/Net_SSLeay.pm-1.25/Net-SSLeay +-Handle-0.50' PERL_DL_NONLAZY=1 /usr/bin/perl "-Iblib/lib" "-Iblib/arch" test.pl 1..20 ok 1 Testing pointer to int casting... cc: gcc ok ./ptrcasttst: 'void *' len: 4, 'unsigned long int' len: 4. ptrcasttst: ok (0x8049778 == 0x8049778). ok ok ok 2 ### Making self signed certificate just for these tests... certificate done. ok 3 ok 4 Spawning a TCP test server on port 1211, pid=3574... Out of memory! *** not ok 5tcp Spawning a SSL test server on port 1212, pid=3577... ok 5 ok 6 ok 7 ok 8 ok 9 Sending 1 MB over localhost, may take a while (and some VM)... ...took 1 secs (1024 KB/s) ok 10 ok 11 Sending 1 MB over pipes, may take a while (and some VM)... ...took 2 secs (512 KB/s) ok 12 ok 13 Now about to contact external sites... www.bacus.pt www.cdw.com banking.wellsfargo.com secure.worldgaming.net www.ubs.com You have 5 seconds of time to hit Ctrl-C if you do not like this. *** 1 tests failed already. Following tests _will_ fail if you do not have network connectivity (or if the servers are down or have changed). ok 14 www.bacus.pt Trying www.cdw.com... ok 15 www.cdw.com (Microsoft-IIS/6.0) Trying banking.wellsfargo.com... ok 16 banking.wellsfargo.com (Netscape-Enterprise/4.1) Trying secure.worldgaming.net... ok 17 secure.worldgaming.net (Apache/1.3.24 (Unix) mod_ssl/2.8.8 OpenS +SL/0.9.6c) Trying www.ubs.com... ok 18 www.ubs.com (Netscape-Enterprise/3.6 SP3) *** WARNING: There were 1 errors in the tests. make: *** [test_dynamic] Error 255

Contents of tcpecho.log:

Out of memory! tcpecho 3292: Accepting connections on port 1211... 2 connection from 127.0.0.1:1341 Out of memory! tcpecho 3362: Accepting connections on port 1211... 2 connection from 127.0.0.1:1450 Out of memory! tcpecho 3748: Accepting connections on port 1211... 2 connection from 127.0.0.1:1872

Contents of sslecho.log:

bind: Address already in use (port=1212) at examples/sslecho.pl line + 29. bind: Address already in use (port=1212) at examples/sslecho.pl line + 29. bind: Address already in use (port=1212) at examples/sslecho.pl line + 29.
  • Redhat 9
  • Perl 5.8.0

Now, it's obvious even to me that "Out of memory!" means just that, it's running out of memory, but I can't pin down where, why or how I can fix it short of buying more memory. Any suggestions?

Thanks





My code doesn't have bugs, it just develops random features.

~Flame

Comment on "Out of memory!" -- make test and Net::SSLeay
Select or Download Code
Replies are listed 'Best First'.
Re: "Out of memory!" -- make test and Net::SSLeay
by Corion (Pope) on Oct 26, 2003 at 22:31 UTC

    I describe the same problem here, but I have a completely different platform (Win32 / Perl 5.8.1). I haven't succeeded yet in building Net::SSLeay, and have received no answer either...

    perl -MHTTP::Daemon -MHTTP::Response -MLWP::Simple -e ' ; # The $d = new HTTP::Daemon and fork and getprint $d->url and exit;#spider ($c = $d->accept())->get_request(); $c->send_response( new #in the HTTP::Response(200,$_,$_,qq(Just another Perl hacker\n))); ' # web
      Sorry, but I don't think your problem is the same. Net::SSLeay builds fine for me, it just seems to run out of memory somehow.




      My code doesn't have bugs, it just develops random features.

      Flame

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://302258]
Approved by davido
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others having an uproarious good time at the Monastery: (11)
As of 2015-07-28 16:59 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (258 votes), past polls