LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 10-29-2013, 01:47 PM   #1
carlitoco
Member
 
Registered: Jan 2008
Location: Berlin
Distribution: Slackware / Arch / Unix
Posts: 144

Rep: Reputation: 16
friendica on it


If I try to register on Friendica-Server, I get a fatal error, httpd says:

Code:
[:error] [pid 25765:tid 2832202560] [client bla.bla.bla.bla:51518] PHP Fatal error: 
Allowed memory size of 1073741824 bytes exhausted (tried to allocate 65484 bytes) in /var/www/htdocs/bla/include/dba.php on line 247
All other stuff web and mail with mysql etc works fine...

any Ideas?

Last edited by carlitoco; 10-30-2013 at 05:13 PM.
 
Old 10-29-2013, 04:46 PM   #2
Robhogg
Member
 
Registered: Sep 2004
Location: Old York, North Yorks.
Distribution: Debian 7 (mainly)
Posts: 653

Rep: Reputation: 97
How much memory do you have available on the server?

All this is saying is that a PHP script has exhausted the (1 GB of) memory it's allowed - if you can increase this, there's a good chance it'll work (unless it has a memory-eating bug).

It's the memory_limit setting you want to tweak in php.ini (/etc/php5/apache2/php.ini on Deb/buntu systems).
 
Old 10-29-2013, 05:12 PM   #3
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,187

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
I can see several different possibilities:
  1. If this is a local message, and /var/www/htdocs/ (or one of the parent directories) is mounted as a tmpfs and limited in size to 1GB, then consider mounting it on a larger, physical device or purchasing more memory for your system.
  2. If the message you posted is from one of the Friendica servers, it indicates a similar problem with the server, and you should contact the server's administrator for a solution or try a different server.
  3. If you are simulating a Friendica server on your system in a sandbox, increase your sandbox size, or place it on a real drive.
  4. If none of the above matches your problem, post more information about what you're doing and what you want to accomplish.
 
Old 11-01-2013, 07:20 AM   #4
carlitoco
Member
 
Registered: Jan 2008
Location: Berlin
Distribution: Slackware / Arch / Unix
Posts: 144

Original Poster
Rep: Reputation: 16
Okay thank you, I gave more memory to php. It works now but not at all!


If friendica send an registration mail to the user, it sends from apache@myserver.toplevel.

Curiously it doesn't take the "relay" I'd configured in sendmail "dnsexit".
In /var/log/maillog it dicribe to take "localhost" as relay.

Every "Dynamic-Ip-Mail" is blocked from recipent provider, so we don't get any registration mails.


Do you have any idea whats happened here ? If you need some logs, no problem !


Thank you at all!

Last edited by carlitoco; 11-01-2013 at 07:22 AM.
 
Old 11-01-2013, 03:54 PM   #5
PTrenholme
Senior Member
 
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,187

Rep: Reputation: 354Reputation: 354Reputation: 354Reputation: 354
Sorry. I do not use, nor have I ever used, a friendica server. I was just pointing out obvious things to check after I saw you'd not had any replies. (And I see that Robhogg made the same suggestion about your memory while I was typing my reply.)
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Friendica setup issue vatin Linux - Server 0 06-23-2013 09:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 07:21 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration