Re: revise the /etc/security/limits.conf doesn't take effect for normal user.

2019-08-11 Thread Emmanuel Gelati
check if you are using pam_limits module

grep -i limit /etc/pam.d/*

Il giorno dom 11 ago 2019 alle ore 05:30 Hongyi Zhao 
ha scritto:

> Hi,
>
> I added the following lines into /etc/security/limits.conf:
>
> * - nofile 65535
> root - nofile 65535
>
>
> But it still not take effect for the normal user.
>
> Any hints?
> --
> .: Hongyi Zhao [ hongyi.zhao AT gmail.com ] Free as in Freedom :.
>
>

-- 
  .~.
  /V\
 //  \\
/(   )\
^`~'^


Re: Sesiones remotas

2019-01-07 Thread Emmanuel Gelati
ssh :)

Il giorno lun 7 gen 2019 alle ore 15:06 Eriel Perez <
erielperezg...@gmail.com> ha scritto:

> Hola colegas.
>
> Quisiera preguntar si existe algun servidor o servidor que me permita
> hacer sessiones remotas. algo parecido al teamviewer pero necesito
> instalarlo en mi servidor. no se si me explico bien.
>
>
> Gracias.
>
>

-- 
  .~.
  /V\
 //  \\
/(   )\
^`~'^


Re: LoadBalance With HA

2018-09-17 Thread Emmanuel Gelati
ipvs works at layer 4 and haproxy works with layer 7, check marting answer.

2018-09-17 15:03 GMT+02:00 Dan Ritter :

> On Mon, Sep 17, 2018 at 02:09:07PM +0200, Emmanuel Gelati wrote:
> > https://en.wikipedia.org/wiki/HAProxy
> >
> > 2018-09-17 13:09 GMT+02:00 Dan Ritter :
> >
> > > On Sun, Sep 16, 2018 at 09:35:32PM +0200, Emmanuel Gelati wrote:
> > > > If you want to build a http loadbalancer, I think the better options
> is
> > > to
> > > > use haproxy.
> > >
> > > Why?
>
> That's a description of what it is. I already know what it is, as I have
> both ldirectord and haproxy in production usage right now.
>
> I'm interested in knowing why you're advocating for it in this particular
> situation.
>
> -dsr-
>



-- 
  .~.
  /V\
 //  \\
/(   )\
^`~'^


Re: LoadBalance With HA

2018-09-17 Thread Emmanuel Gelati
https://en.wikipedia.org/wiki/HAProxy

2018-09-17 13:09 GMT+02:00 Dan Ritter :

> On Sun, Sep 16, 2018 at 09:35:32PM +0200, Emmanuel Gelati wrote:
> > If you want to build a http loadbalancer, I think the better options is
> to
> > use haproxy.
>
> Why?
>
> -dsr-
>



-- 
  .~.
  /V\
 //  \\
/(   )\
^`~'^


Re: LoadBalance With HA

2018-09-16 Thread Emmanuel Gelati
If you want to build a http loadbalancer, I think the better options is to
use haproxy.

Thanks
Emmanuel

2018-09-16 20:25 GMT+02:00 Dan Ritter :

> On Sun, Sep 16, 2018 at 11:04:53AM -0300, Labs Ocozzi wrote:
> > I need a httpd, but my first step is buld the httpd.
> > It is my first project to cluster, i will build others cluster too, but
> > i need understood make a cluster.
> >
>
> Read http://www.linuxvirtualserver.org/
>
> -dsr-
>
>


-- 
  .~.
  /V\
 //  \\
/(   )\
^`~'^


Re: Bash count

2018-08-22 Thread Emmanuel Gelati
yes, that was a typo.

2018-08-22 22:42 GMT+02:00 Greg Wooledge :

> On Wed, Aug 22, 2018 at 11:33:51PM +0300, Gokan Atmaca wrote:
> > Hello
> >
> > I have a list like the one below. I want to separate those bigger than
> 101. How
> > can this be done ?
> >
> > 715 1.1.1.1
> > 322 2.2.2.2
> > 152 3.3.3.3
> >  61 4.4.4.4
>
> awk '$1 > 101'
>
>


-- 
  .~.
  /V\
 //  \\
/(   )\
^`~'^


Re: Kernel Live Patching

2018-06-28 Thread Emmanuel Gelati
The answer is *High Availability*

2018-06-28 17:40 GMT+02:00 Darac Marjal :

> On Thu, Jun 28, 2018 at 10:53:58AM -0400, Gene Heskett wrote:
>
>> On Thursday 28 June 2018 09:23:43 Aleksey Kravchenko wrote:
>>
>> Hi.
>>> Is there a free alternative to ksplce / livepatch / kernelcare for
>>> debian systems? We're interested in the complete solution when we
>>> install the agent on the server and the agent upgrades the system by
>>> itself. Thank you.
>>>
>>
>> Given the history of ksplice, and my innate paranoia, I don't have a pole
>> long enough to reach it. You shouldn't either.  I have a mental picture
>> of the keys to whatever merchandising operation you may be involved in,
>> hanging on a nail beside the front door.
>>
>> If something is patched and a reboot is needed to make it 100%
>> functional, and you can't stand the thought of 2 minutes downtime while
>> its rebooting, its time to mirror your app to a second machine and
>> configure an automatic failover. There are some OS's that can do that,
>> QNX comes to mind, but they aren't free. Even the QNX microkernel has a
>> dead time of 15 or 20 seconds for a full reload of everything else.
>>
>
> 2 minutes? I presume you've not interacted much with modern servers? HPe
> ProLiant servers, for example, take several minutes to reboot (a couple of
> minutes initialsing the processor/BMC, then they switch to graphical mode
> and initialise RAM, sensors, devices etc, then they begin to boot. And then
> you've got whatever time is needed to get, say, your storage in order...)
>
> I think that the closest that Debian comes to ksplice is kexec. kexec is
> the kernel equivalent of the shell's exec function; that is, "execute that
> process in place of this one". To use kexec, you still need to run through
> your init scripts to shutdown the system and restart it but, instead of
> asking the system firmware to reboot the system, the kernel calls the kexec
> function and executes the new kernel in place. All your RAM stays "hot",
> all your devices remain initialised etc, but you do need to restart the OS.
> So it's a compromise.
>
>
>
>> I think the applicable keyword here is TANSTAAFL. Its a universal law,
>> and there are no shortcuts around it.  IOW, if you think the lunch is
>> free, check the price of the beer.
>>
>> --
>> Cheers, Gene Heskett
>> --
>> "There are four boxes to be used in defense of liberty:
>> soap, ballot, jury, and ammo. Please use in that order."
>> -Ed Howdershelt (Author)
>> Genes Web page 
>>
>>
> --
> For more information, please reread.
>



-- 
  .~.
  /V\
 //  \\
/(   )\
^`~'^