Language:

en_US

switch to room list switch to menu My folders
Go to page: First ... 16 17 18 19 [20] 21
[#] Fri Nov 15 2024 11:12:48 UTC from beroxer

Subject: Re: citserver NetBSD 100% CPU from pthreads

[Reply] [ReplyQuoted] [Headers] [Print]

Although disabling multithreaded execution isn't a workable solution
for the mainline

that for sure...

, it will actually work at a very small scale, it will simply answer one
request at a time.

well, this is good news for me :) thanks for the info
i was thinking i may install [in a very distant future] a home server with
almost no load...

speaking of load: I tested the no-threaded server with 'loadtest -n5' and did
not see crashing or some db corruptions, so it actually may be useful.

[#] Fri Nov 15 2024 14:55:47 UTC from IGnatius T Foobar

Subject: Re: citserver NetBSD 100% CPU from pthreads

[Reply] [ReplyQuoted] [Headers] [Print]

speaking of load: I tested the no-threaded server with 'loadtest -n5' and
did
not see crashing or some db corruptions, so it actually may be useful.


It shouldn't crash, and it definitely shouldn't corrupt the database. What you might notice, for example, is that if a very large message (say, several megabytes or more) is being submitted or transmitted, all the other sessions will block until it's finished. If it weren't for that, the whole server could be single threaded and we wouldn't have to worry about locking resources while writing to them, or anything like that ... it would be developer heaven
:)

Your stack trace suggests what I had suspected -- the select() system call is perhaps behaving differently on NetBSD than it does on FreeBSD and Linux.

[#] Fri Nov 15 2024 16:45:22 UTC from beroxer

Subject: Re: citserver NetBSD 100% CPU from pthreads

[Reply] [ReplyQuoted] [Headers] [Print]

Your stack trace suggests what I had suspected -- the select() system call
is perhaps behaving differently on NetBSD than it does on FreeBSD and Linux.

ah, the select() then!

take a quick peak at their man page select(2):
https://man.netbsd.org/NetBSD-10.0/select.2

especially this:
# o< --------------------------------------------------------------------------
NOTES
It is recommended to use the poll(2) interface instead, which tends to be
more portable and efficient.
# o< --------------------------------------------------------------------------

these people tend to hate select + plus their BUGS section in select(2) is
bigger than the rest of the man page :)

... it would be developer heaven :)

hehe :) Valhala :)

that is why i like good'ol multiprocessing with fork()-s :) I know, I know -
nobody recommends it and also there are voices to remove it from POSIX
completely :)

[#] Sat Nov 16 2024 08:09:56 UTC from mkuhn

Subject: Re: Citadel log level change

[Reply] [ReplyQuoted] [Headers] [Print]

Thanks, I will give that a try



[#] Sat Nov 16 2024 10:28:13 UTC from beroxer

Subject: textclient not honouring ansi_color=off in citadelrc

[Reply] [ReplyQuoted] [Headers] [Print]

Hi,

Not a big deal, just to report it:

My Versions:

* the last text client downloaded from easyinstall.citadel.org 2024-11-16

Problem description:

* editing $HOME/.citadelrc for textclient configuration
* entering ansi_color=off
* starting client
* Expected result: client to start without colors
* Result: client still has ansi colors

Additional information:

In commands.c the variable rc_ansi_color is initialised to:

rc_ansi_color = 1;

And later on the logic for reading ~/.citadelrc is:

if (!strncasecmp(buf, "ansi_color=", 11)) {
if ( (!strncasecmp(&buf[11], "on", 2))
|| (!strncasecmp(&buf[11], "auto", 4))
) {
rc_ansi_color = 1;
}
}

Conclusion: it could never reach value rc_ansi_color = 0;
even if in ~/.citadelrc configuration is ansi_color=off

Cheers!

[#] Mon Nov 18 2024 20:34:54 UTC from alcomys

Subject: Re: No working install posible on debian bookworm or other raspberry pi os

[Reply] [ReplyQuoted] [Headers] [Print]

 

Mon Nov 11 2024 10:52:10 UTC from alcomys Subject: No working install posible on debian bookworm or other raspberry pi os

Hi Guys,

I have been busy day's to get citadel running on my raspberry pi but without success.

The setup and needed download when use easy install are good to go, but when it comes to login to the admin it goes wrong.

When installing the easy install the standard way so use admin and the password citadel for the web cit to login i got always an password error.

If i run the easy installer again and replace the admin and password with some of my own i have the same problem with password error.

I did searched google for an answer but there is less information on how to get it work on Debian bookworm.

 

Maybe someone did had the same problems as i have? and solved them?

Or maybe someone can help me out here? because it is very frustrating when trying days without success.

Thanks in Advance.

 

Alcomys

 

 

 



Is there nobody who have had the same problem as me with the password not working in Citadel Web-cit?

I did try different distro's for my raspberry pi 4-B and all have the same problem with the password.

Thanks in advance.

 

 



[#] Mon Nov 18 2024 21:15:51 UTC from Nurb432

Subject: Re: No working install posible on debian bookworm or other raspberry pi os

[Reply] [ReplyQuoted] [Headers] [Print]

More like most of us dont use RPI hardware. If i get a chance this weekend ill try latest easy install on a real ARM SBC.

Does "different distros" include Armbian?

 

Mon Nov 18 2024 20:34:54 UTC from alcomys Subject: Re: No working install posible on debian bookworm or other raspberry pi os

 

 

Is there nobody who have had the same problem as me with the password not working in Citadel Web-cit?

I did try different distro's for my raspberry pi 4-B and all have the same problem with the password.

Thanks in advance.

 

 



 



[#] Mon Nov 18 2024 23:27:49 UTC from Nurb432

[Reply] [ReplyQuoted] [Headers] [Print]

Ok my plans for tonight fell thru and i gave it a shot.

It wont be 1:1 the same as your hardware, other than being an ARM chip ( different family but same concept ), but Armbian is available for the RPI as well. However, i ran into a different issue, where around 95% of the process, the restart of the server hit 100% cpu and hung ( not seen that one before ).  This was not a virgin install, so if i have time tomorrow ill blow the OS away and start over.

As a side note, while im not a docker fan, i did look and RPI4's can run docker.  So that is another option for you, instead of using easyinstall.

 

And while someone else would need to chime in, i would assume you could go into the DB manually and reset the password to a known value. Just in case something weird is going on with your terminal when you entered it during hte install.



[#] Tue Nov 19 2024 11:03:35 UTC from alcomys

Subject: Re: No working install posible on debian bookworm or other raspberry pi os

[Reply] [ReplyQuoted] [Headers] [Print]

 

Mon Nov 18 2024 21:15:51 UTC from Nurb432 Subject: Re: No working install posible on debian bookworm or other raspberry pi os

More like most of us dont use RPI hardware. If i get a chance this weekend ill try latest easy install on a real ARM SBC.

Does "different distros" include Armbian?

 

Mon Nov 18 2024 20:34:54 UTC from alcomys Subject: Re: No working install posible on debian bookworm or other raspberry pi os

 

 

Is there nobody who have had the same problem as me with the password not working in Citadel Web-cit?

I did try different distro's for my raspberry pi 4-B and all have the same problem with the password.

Thanks in advance.

 

 



 



Hi Nurb432,

Thanks for the replay.

Yes i have Armbian on my raspberry pi 4.

But i did try also other distro like ubuntu,Debian,Openelec all have the same problem that the password when logging in Web-Cit is wrong.

So the install has no problems but there is something with the password.

 

 



[#] Tue Nov 19 2024 11:36:07 UTC from Nurb432

Subject: Re: No working install posible on debian bookworm or other raspberry pi os

[Reply] [ReplyQuoted] [Headers] [Print]

With a bit of luck i can try again today.  I expect a quiet day at work but you never know. Someone like IG can verify my thoughts about the DB.  I have not had to look at the DB before. 

Tue Nov 19 2024 11:03:35 UTC from alcomys Subject: Re: No working install posible on debian bookworm or other raspberry pi os

 

Hi Nurb432,

Thanks for the replay.

Yes i have Armbian on my raspberry pi 4.

But i did try also other distro like ubuntu,Debian,Openelec all have the same problem that the password when logging in Web-Cit is wrong.

So the install has no problems but there is something with the password.

 

 



 



[#] Wed Nov 20 2024 06:34:04 UTC from luisgo

Subject: Re: Problem with Webmail.

[Reply] [ReplyQuoted] [Headers] [Print]

Thanks for the release.

Wed Nov 13 2024 02:28:40 UTC from IGnatius T Foobar Subject: Re: Problem with Webmail.
I suppose that in some emails clients there is a maximum from
which is cut.

But 70 (??) is too few.

Ok, it will be 256 in the next update.

 



[#] Wed Nov 20 2024 20:10:45 UTC from Nurb432

[Reply] [ReplyQuoted] [Headers] [Print]

Ok i wont be of much help on the bad password thing.  Tried an easy install on a fresh minimal Armbian OS, same result as before and it froze up on me during the restart.  I am sure someone will chime in, but might be worth looking at the docker option in the meantime.

I could try the OEM OS, but its not anything you can install on a RPI so not worth it to try.

 

 



[#] Fri Nov 22 2024 16:31:51 UTC from kamyl

Subject: Problem with perfoming configuration setup after installation

[Reply] [ReplyQuoted] [Headers] [Print]

Hi,

I installed Citadel on Raspbery Pi 5 8GB. I know it is possible because this process is described here:

https://pimylifeup.com/raspberry-pi-email-server/

Unfortunately, after the installation is completed, at the last stage of configuration, when the reconfiguration that ends the installation process is suspended.

 

Reconfiguring Citadel server
  Citadel Server setup

Restarting Citadel server to apply changes
[***********************************************************************....]

 

I tried to repeat this process several times but without any changes.

I used the curl and wget installation. Unchanged.

 

Perhaps someone has already reported such a problem, or you have suggestions what I could do to be able to use your product.

 

Thank you in advance.

 

Kamil

 



[#] Fri Nov 22 2024 17:43:18 UTC from Nurb432

Subject: Re: Problem with perfoming configuration setup after installation

[Reply] [ReplyQuoted] [Headers] [Print]

You want to post that in the support room.

 Fri Nov 22 2024 16:31:51 UTC from kamyl


[#] Fri Nov 22 2024 18:47:08 UTC from Nurb432

[Reply] [ReplyQuoted] [Headers] [Print]

And i could be wrong. But i thought id try latest easy install on a virgin x86 Debian load. ( technically FAI, but the Debian based one ) It also froze up right at the end of restarting the server, with nearly 100% CPU use.  So does not appear to be a CPU related thing.



[#] Fri Nov 22 2024 19:06:02 UTC from Nurb432

[Reply] [ReplyQuoted] [Headers] [Print]

And i meant to include the below in the last message. sorry .. 

~~~~~~~~~~~~~~~~

Not a huge executable debugger guy..  but i did run strace on the process and got pages of repeating lines, if its any help at all:

 

read(-1, 0x7ffe2e5f57ef,1 )                  = -1 EBADF ( Bad file descriptor )

 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



[#] Sun Nov 24 2024 18:32:06 UTC from nighttripper

[Reply] [ReplyQuoted] [Headers] [Print]

webcit is trying to use  readdir_r twice in it's install script.  "This function is deprecated; use readdir(3) instead."  From https://www.man7.org/linux/man-pages/man3/readdir_r.3.html


I have reported it and am waiting on any reply.


Nighttripper



[#] Sun Nov 24 2024 18:34:06 UTC from nighttripper

[Reply] [ReplyQuoted] [Headers] [Print]

If you go to /usr/local/webcit  that folder is empty.



[#] Tue Nov 26 2024 02:25:45 UTC from IGnatius T Foobar

[Reply] [ReplyQuoted] [Headers] [Print]

And while someone else would need to chime in, i would assume
you could go into the DB manually and reset the password to a
known value. Just in case something weird is going on with your
terminal when you entered it during hte install.

Or you could just run "setup" and it would let you do the same thing.

[#] Tue Nov 26 2024 02:28:23 UTC from IGnatius T Foobar

Subject: Re: Problem with perfoming configuration setup after installation

[Reply] [ReplyQuoted] [Headers] [Print]

Unfortunately, after the installation is completed, at the last
stage of configuration, when the reconfiguration that ends the
installation process is suspended.

Please indicate the exact model Pi you are using along with the operating system you're running. Also please tell us whether you attempted to install Citadel using the Docker package or the Easy Install method.

Easy Install is the traditional favorite, but the Docker version is usually a faster and cleaner and more reliable install.

Go to page: First ... 16 17 18 19 [20] 21