Re: python readlines() is slow when run in an apache2 cgi running in a vserver

2007-02-21 Thread Alexandre Rossi
So, I finally solved my problem[1]. Darcsweb was slow under vserver because python dup2 is slow when ulimit -H -n is high : closing all those fd's in a python loop is slow, see Lib/popen2.py in the python source that says : for i in xrange(3, MAXFD): try:

python readlines() is slow when run in an apache2 cgi running in a vserver

2007-01-23 Thread Alexandre Rossi
Hi, I'm just clueless with one particular behavior of the readlines function. I've written a sample program that illustrates this prehaps bug I'm encountering. The box I used for this is an AMD Sempron 2800+ with 256 Mb of RAM : - When run on this standard etch box as a cgi script in apache2,

Re: ways to prevent certain programs accesing the internet in Linux

2005-08-26 Thread Alexandre Rossi
I just wonder how I can control which programs can or cannot have access to the internet/intranet or resources outside the local computer. This may be what your are looking for. http://www.debian-administration.org/articles/120

Re: on-screen artifacts (red pixels) at high resolution with Intel HD 630 (Kaby Lake)

2017-12-14 Thread Alexandre Rossi
Hi, I finally got some time to investigate further. Setup I'm running Debian Stretch with a backported 4.13 Linux kernel on an Intel Kaby Lake (chipset H110 and HD graphics 630) machine. I've installed firmware-misc-nonfree and updated my BIOS to fix the Kavy Lake HT bug. Problem I'm

Re: on-screen artifacts (red pixels) at high resolution with Intel HD 630 (Kaby Lake)

2017-12-18 Thread Alexandre Rossi
>> I'm experiencing red blinking pixels in dark areas in the displayed >> Xorg picture on my TV connected using a HDMI cable. > > can you test with another HDMI cable? Just because the HDMI cable works > under Windows or Linux with a different GPU does not mean it will work under > Linux with your

Re: on-screen artifacts (red pixels) at high resolution with Intel HD 630 (Kaby Lake)

2017-12-08 Thread Alexandre Rossi
(please CC me as I am not subscribed to the list) > A screenshot would be helpful. Does these artifacts appear every single time > or sporadically? The artifact appear at the same place every single time and seem to follow (in videos) a single set of colors (dark brownish areas). You can look at

on-screen artifacts (red pixels) at high resolution with Intel HD 630 (Kaby Lake)

2017-12-07 Thread Alexandre Rossi
(please CC me as I am not subscribed to the list) Hi, I am experiencing on-screen artifacts (red dots) when running at 1920x1080 on HDMI out. I've ruled out a hardware (cable, TV or GPU) issue by installing win10 which does not show those problems. This is by using stretch, issue occurs with

Re: on-screen artifacts (red pixels) at high resolution with Intel HD 630 (Kaby Lake)

2017-12-11 Thread Alexandre Rossi
> could you show your Xorg.0.log files? Here it is attached. > The Kaby Lake GPU needs some firmware. Therefore, what is the print out of > grep firmware /var/log/dmesg $ sudo dmesg | grep firmware [9.165601] i915 :00:02.0: firmware: direct-loading firmware i915/kbl_dmc_ver1_01.bin [

Re: on-screen artifacts (red pixels) at high resolution with Intel HD 630 (Kaby Lake)

2017-12-09 Thread Alexandre Rossi
> Screenshot [1] looks normal to me, but on screenphoto [2] I clearly see > red-ish stripes and pink spots in the middle. > > Now it looks like your LCD could be faulty not PC hardware\software. Can you > test it with another LCD monitor, or connect it to TV via HDMI cable if it's > possible? The

Re: on-screen artifacts (red pixels) at high resolution with Intel HD 630 (Kaby Lake)

2017-12-10 Thread Alexandre Rossi
> The image with errors looks as it was manipulated in a photoeditor, eg. > Gamma/levels curves ... Does the driver have some image adjustment enabled? I use defaults everywhere, and the behavior is the same with a ubuntu live image. $ xgamma -> Red 1.000, Green 1.000, Blue 1.000

Re: Cannot start davmail service

2018-04-26 Thread Alexandre Rossi
Hi, > I have a problem with davmail package in debian testing and need some advise. > > If I install it I can start and stop the service via systemctl without any > problem and it works flawlessly. > > However, after a reboot, the service does not start. I get the following > error: > > abr 26

Re: on-screen artifacts (red pixels) at high resolution with Intel HD 630 (Kaby Lake)

2017-12-21 Thread Alexandre Rossi
>> Two other PCs (Linux and Windows) going through the same HDMI cable to >> the same TV and same TV port using the same 1920x1080 resolution work >> perfectly. > > How long is the cable? Do you have access to another to try? ~20% of the HDMI > cables I have are either useless or flaky with at

Re: Autologin not working (lightdm, openbox)

2018-08-27 Thread Alexandre Rossi
Hi, > Before anyone asks, i've looked all over the wiki and every other post online > so i'm not sure why this isn't working. When I start up my machine X starts > up fine. and it goes to the lightdm login screen, but it still makes me put > in the password. > > My user is in the autologin and

Re: Upgrading with a low data cap

2018-10-10 Thread Alexandre Rossi
Hi, > Something just brought to mind apt-offline. The introductory paragraph > in the man page states: > > apt-offline brings offline package management functionality to Debian > based system. It can be used to download packages and its dependencies > to be installed later on (or required to

Re: Windows 10 & Debian 9: Win 10 not updating

2019-01-31 Thread Alexandre Rossi
Hi, >Problem: Neither Win 10 OS has been able to successfully update since >about last April. I have tried all the things I have found in an >Internet search, including making sure the Win partition is marked >boot-able, and downloading and running the Win 10 trouble shooter--all >to no avail.

Re: systemd-nspawn + systemd-networkd

2019-06-08 Thread Alexandre Rossi
Hi, For the container I need a static address, I know in can be configured on container side. Is there a way to do this config only on host side? Edit a file to bind mac address and ip for example. Like kvm network or "real" dhcp can do? There does not seem to be any other option than running

Re: I Can't use adminer

2019-08-03 Thread Alexandre Rossi
> > You must also install and setup a php-enabled web server for it to > > work. > > > > The simplest way to get it running is: > > $ cd /usr/share/adminer > > $ php -S localhost:8000 > > > > and you'll find adminer at http://localhost:8000/adminer/ > > > > (There are many other ways to run a

Re: nft 'modules'

2019-09-04 Thread Alexandre Rossi
Hi, > In ipchains, there were a lot of modules that I used a few of, like > recent and the one that put comments on the end of a rule. I can't find > anything, one way or the other, discussing these add-ons with nft. > > Is there such a thing in nft? Is nft so new that they just haven't been >

Re: How to use adminer?

2019-09-04 Thread Alexandre Rossi
Hi, > I installed adminer in debian 10 by sudo apt install adminer. > Now I am unsure how to use it on web browser. Note I installed LAMP and > already run a local setup for Wordpress. If your LAMP webroot is /var/www/html do, one way is to do the following. $ ln -s /usr/share/adminer/adminer

Re: apt-offline

2019-09-12 Thread Alexandre Rossi
Hi, > > I see that apt-offline is not part of buster. Is there any plan to add it? > > Only the maintainer would know about that. It is unlikely he reads this > list. https://bugs.debian.org/871656 is what keeps apt-offline out of testing and thus stable. Alex

Re: I Can't use adminer

2019-07-21 Thread Alexandre Rossi
Hi, > I want to use adminer for php operations. I installed it via apt install > adminer. > But I am not able to open it on localhost. Can anyone help me? You must also install and setup a php-enabled web server for it to work. The simplest way to get it running is: $ cd /usr/share/adminer $

Re: Running a music player via cron

2019-10-02 Thread Alexandre Rossi
Hi, > >> Playing: http://direct.franceinfo.fr/live/franceinfo-midfi.mp3 > >>  (+) Audio --aid=1 (mp3 1ch 44100Hz) > >> ALSA lib pcm_dmix.c:1108:(snd_pcm_dmix_open) unable to open slave > >> [ao/alsa] Playback open error: Device or resource busy > >> [ao/oss] Can't open audio device /dev/dsp:

Re: ActiveSync Postfix

2020-05-31 Thread Alexandre Rossi
Hi, > I am using Postfix. (Postfix, OpenLdap, Dovecot, Squirrelmail) My goal > is to synchronize contacts and calendars. I have to do ActiveSync for > this. How can I resolve ActiveSync ? Is there an open source solution > ? Postfix does not support this. ActiveSync is a Microsoft protocol. If

Re: systemd-nspawn networking inside VirtualBox VM

2020-07-07 Thread Alexandre Rossi
Hi, > > since I am not well educated about macvlan, ipvlan, I could not get the > > networking working at all. I would like to avoid using > > "systemd-networkd/systemd-resolvd" especially on the Buster host - using > > those > > it seems should make everything work automagically. > > If you

Re: Web log analysis

2021-05-28 Thread Alexandre Rossi
Hi, > In this case, Richard seems to be looking for analysis of the > web server logs he has already collected. > > analog > awfful > awstats > goaccess > logstalgia > logswan > visitors > webalizer analog, awfful, awstats, visitors and webalizer seem unmaintained. logstalgia is an Xorg app

Re: trouble with sbuild

2021-04-13 Thread Alexandre Rossi
Hi, > $ sbuild-createchroot --chroot-mode=unshare --make-sbuild-tarball ~/.cache/ > sbuild/unstable-amd64.tar.gz unstable $(mktemp -d) > https://deb.debian.org/debian/ > [...] > If I understand well, it is a Perl script that tries to execute some > 'newuidmap' command that is part of the uidmap

Re: rsync copyed systemd-nspawn container won't start

2022-01-12 Thread Alexandre Rossi
Hi, [...] > Jan 11 15:22:55 dhanna systemd-nspawn[21268]: Failed to create > /init.scope control group: Operation not permitted [...] > Then I try it with > > debootstrap --variant=minbase --include > systemd,vim,libterm-readline-gnu-perl,iproute2,dialog,dbus stretch > /var/lib/machines/foo > >

Re: laptop freezes randomly - please help!! dell xps 15 with debian testing

2023-01-30 Thread Alexandre Rossi
Hi, > In the past week my laptop freezes randomly, I can say it happens every 2-3 > hours. but there are actions that consistently always cause a freeze, like > opening Zoom or executing lspci in Terminator. I would suggest: - try to get more debugging info using SysRQ keys [1] - try to get more

Re: Building binary package, howto enable init.d/systemd start

2023-03-07 Thread Alexandre Rossi
Hi, > i am trying to build a binary debian package consisting of a python > script, shell scripts and a config file as daemon with either init.d or > systemd start. > > The init.d script gets installed also the systemd file, but both are not > enabled. [...] > In debian/rules is: > >

Re: Current best practices for system configuration management?

2024-04-19 Thread Alexandre Rossi
Hi, > > and so on, it is time to explore solutions. I only have four systems > > at the moment (two physical and two virtual), so I don't think I need > > something too fancy. I am in the same situation with an extra constraint: some are laptops and not always connected. > > My first thought