Dial up server help

George Daflidis-Kotsis gdk at demon.net
Thu Jun 28 18:31:01 EEST 2001


On Thu, Jun 28, 2001 at 05:59:32PM +0300, Christos Ricudis wrote:

> Kanw pws den katalaba to yfos toy mynhmatos sou (ka8ara apo zhleia epeidh 8a
> h8ela na to eixa grapsei egw) kai aplws anarwtiemai POSOI exoyn toso megalo
> userbase wste pragmatika na xreiazontai ena oloklhro RDBMS aplws kai mono gia
> na toys epistrefei ena record me monadiko kleidi to username. 
> 
> giwtoula:[ricudis]~$ time grep kondor2 test1
> kondor2:x:1026:100:Das Kondor:/home/kondor:/bin/bash
> 
> real    0m0.447s
> user    0m0.130s
> sys     0m0.310s
> giwtoula:[ricudis]~$ wc -l test1
> 1597590 papas1
> giwtoula:[ricudis]~$
> giwtoula:[ricudis]~$ ls -l test1
> -rw-r--r--   1 ricudis     users     81450915 Jun 28 18:05 test1
> giwtoula:[ricudis]~$
> 
> Miso second gia na psaksei se ena userfile me enamisi ekatommyrio records.
> Praktika, afou brei to record, de xreiazetai na synexisei na psaxnei (anti8etws
> apo th grep) ara mallon meiwnetai akoma perissotero o xronos. Twra 8a moy peis
> oti mporei ekeinh th stigmh na xtypane ton authentication server me kammia
> katostaria requests per second, sto opoio apantaw oti 256 MB ram gia na xwresei
> sto RSS olo to password file (kai na'xeis xwro na parkareis ki ena triaksoniko
> apo dipla) den einai da kai spoudaio pragma. 
> 
> Bebaia sthn praksh installations tetoioy mege8ous endexetai na einai ontws
> periplokotera, alla aplws h8ela na made a point here...

An to username einai sthn arxh enos file 81MB tote exei kalws, an einai pros
to telos omws tote isws na zoristei asxhma o server, an einai monos tou kai
an dexetai polla hits/sec.

An exeis toso megalo userbase (to diko mas exei peripou 200.000 accounts ==
200.000 radius profiles) tote:

1) Den 8a exeis mono ena radius server
2) De 8a exeis olous tous access servers na xtupane sunexeia ton idio radius
   server
3) Oso pio pollous radius servers exeis toso pio ligo xreiazesai RDBMS database.

Kai den exoume apla ena password file gia to database, einai hashed directory
structure pou boh8aei kata polu sthn taxuthta.

-- 
[george daflidis-kotsis - systems admin,web/e-commerce - gdk at demon.net]
["I grow old always learning" - "I know one thing that I know nothing"]



More information about the Linux-greek-users mailing list