Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
10-29-2013, 02:47 PM
|
#1
|
Member
Registered: Jan 2008
Location: Berlin
Distribution: Slackware / Arch / Unix
Posts: 144
Rep:
|
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 06:13 PM.
|
|
|
10-29-2013, 05:46 PM
|
#2
|
Member
Registered: Sep 2004
Location: Old York, North Yorks.
Distribution: Debian 7 (mainly)
Posts: 653
Rep:
|
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).
|
|
|
10-29-2013, 06:12 PM
|
#3
|
Senior Member
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,187
|
I can see several different possibilities: - 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.
- 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.
- If you are simulating a Friendica server on your system in a sandbox, increase your sandbox size, or place it on a real drive.
- If none of the above matches your problem, post more information about what you're doing and what you want to accomplish.
|
|
|
11-01-2013, 08:20 AM
|
#4
|
Member
Registered: Jan 2008
Location: Berlin
Distribution: Slackware / Arch / Unix
Posts: 144
Original Poster
Rep:
|
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 08:22 AM.
|
|
|
11-01-2013, 04:54 PM
|
#5
|
Senior Member
Registered: Dec 2004
Location: Olympia, WA, USA
Distribution: Fedora, (K)Ubuntu
Posts: 4,187
|
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.)
|
|
|
All times are GMT -5. The time now is 01:23 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|